Merge pull request #618 from aurimasv/prefs-unicode
Retrieve unmangled unicode strings from preferences
This commit is contained in:
commit
783ba4a0b7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue