зеркало из https://github.com/mozilla/pjs.git
fix bug 46272 r=mjudge/brade use CopyUnicharPref instead of CopyCharPref
for non ASCII data- Author. a=ftang
This commit is contained in:
Родитель
bf827ab068
Коммит
dca2796a11
|
@ -1315,7 +1315,7 @@ function EditorSetDefaultPrefs()
|
|||
var prefAuthorString = 0;
|
||||
try
|
||||
{
|
||||
prefAuthorString = gPrefs.CopyCharPref("editor.author");
|
||||
prefAuthorString = gPrefs.CopyUnicharPref("editor.author");
|
||||
}
|
||||
catch (ex) {}
|
||||
if ( prefAuthorString && prefAuthorString != 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче