зеркало из https://github.com/mozilla/pjs.git
adding comment for previous check-in b=328643 r=jshin
This commit is contained in:
Родитель
f458e75099
Коммит
527468327a
|
@ -139,6 +139,8 @@ gfxFontGroup::ForEachFont(FontCreationCallback fc,
|
||||||
prefName.AppendLiteral(".");
|
prefName.AppendLiteral(".");
|
||||||
prefName.Append(mStyle.langGroup);
|
prefName.Append(mStyle.langGroup);
|
||||||
|
|
||||||
|
// prefs file always uses (must use) UTF-8 so that we can use
|
||||||
|
// |GetCharPref| and treat the result as a UTF-8 string.
|
||||||
nsXPIDLCString value;
|
nsXPIDLCString value;
|
||||||
nsresult rv = prefs->GetCharPref(prefName.get(), getter_Copies(value));
|
nsresult rv = prefs->GetCharPref(prefName.get(), getter_Copies(value));
|
||||||
if (NS_SUCCEEDED(rv)) {
|
if (NS_SUCCEEDED(rv)) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче