Bug 442830 - "modules/distribution.js: int and bool prefs are not set correctly" [p=yoshino@mozilla-japan.org (Kohei Yoshino) r=thunder r=bsmedberg a=mconnor]

git-svn-id: svn://10.0.0.236/trunk@252998 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com 2008-07-12 11:31:56 +00:00
parent 00a3cf6e59
commit d9dee71f5e

View File

@ -271,10 +271,10 @@ DistributionCustomizer.prototype = {
try {
let value = eval(this._ini.getString("Preferences", key));
switch (typeof value) {
case "bool":
case "boolean":
defaults.setBoolPref(key, value);
break;
case "int":
case "number":
defaults.setIntPref(key, value);
break;
case "string":