From 7da2cedce84ef345594c23399fadeaecf5aa792e Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Wed, 17 May 2006 02:36:55 +0000 Subject: [PATCH] checking in right patch for bug 63117 - numbers in prefs accepted in octal when they start with 0, in hex when they start with 0x r=neil sr=alecf, patch by eddyk@netscape.com/durbacher@gmx.de --- suite/common/pref/nsPrefWindow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/common/pref/nsPrefWindow.js b/suite/common/pref/nsPrefWindow.js index 18b3f364aecc..c89d770070dc 100644 --- a/suite/common/pref/nsPrefWindow.js +++ b/suite/common/pref/nsPrefWindow.js @@ -242,7 +242,7 @@ nsPrefWindow.prototype = value = !value; break; case "int": - value = parseInt(value); + value = parseInt(value, 10); break; case "color": if( toString(value) == "" )