Bug 719662 - Use nsIPrefLocalizedString for getComplexValue. r=mfinkle

This commit is contained in:
Brian Nicholson 2012-01-23 13:40:07 -08:00
parent 518844fcd9
commit 46c2d6d19c

View File

@ -621,7 +621,7 @@ var BrowserApp = {
case Ci.nsIPrefBranch.PREF_STRING:
default:
pref.type = "string";
pref.value = Services.prefs.getComplexValue(prefName, Ci.nsISupportsString).data;
pref.value = Services.prefs.getComplexValue(prefName, Ci.nsIPrefLocalizedString).data;
break;
}
} catch (e) {