diff --git a/chrome/content/vimperator/options.js b/chrome/content/vimperator/options.js index 92a49f2c..3f97c35a 100644 --- a/chrome/content/vimperator/options.js +++ b/chrome/content/vimperator/options.js @@ -458,7 +458,7 @@ function Options() //{{{ "When a {count} is specified to the <C-u> or <C-d> commands this is used to set the value of 'scroll' and also used for the current command. " + "The value can be reset to half the window height with :set scroll=0.", default_value: 0, - validator: function (value) { if (value >= 0 && value <= 2) return true; else return false; } + validator: function (value) { if (value >= 0) return true; else return false; } } )); addOption(new Option(["showmode", "smd"], "boolean", @@ -489,7 +489,7 @@ function Options() //{{{ "NOTE: Not fully implemented yet and buggy with stal=0", setter: function(value) { Options.setPref("showtabline", value); setShowTabline(value); }, default_value: 2, - validator: function (value) { if (value>=0 && value <=2) return true; else return false; } + validator: function (value) { if (value >= 0 && value <= 2) return true; else return false; } } )); addOption(new Option(["titlestring"], "string",