commit 783ba4a0b710d95030bfe553cc90f60d36a9d8cf
parent f2ffc307283afcde9a6f5d6b57aae5fab17496b6
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 30 Jan 2015 03:42:34 -0500
Merge pull request #618 from aurimasv/prefs-unicode
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);
}