commit 11017b650c4c1191468185f547bdff3c6927b3c3
parent af775e60825c70803f3c4fe098577c4386524c66
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date: Tue, 20 Jan 2015 23:28:22 -0600
Retrieve unmangled unicode strings from preferences
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -2203,7 +2203,7 @@ Zotero.Prefs = new function(){
case branch.PREF_BOOL:
return branch.getBoolPref(pref);
case branch.PREF_STRING:
- return branch.getCharPref(pref);
+ return '' + branch.getComplexValue(pref, Components.interfaces.nsISupportsString);
case branch.PREF_INT:
return branch.getIntPref(pref);
}