www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

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:
Mchrome/content/zotero/xpcom/zotero.js | 2+-
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); }