зеркало из https://github.com/mozilla/pjs.git
Fix crash when replying to messages in mail/news. No bug and not part of the default build. (Is it possible that no one was using EnumerateAllFonts before?)
This commit is contained in:
Родитель
f62f25ef20
Коммит
e1ec26745c
|
@ -1787,7 +1787,8 @@ EnumFontsXft(nsIAtom* aLangGroup, const char* aGeneric,
|
|||
goto end;
|
||||
|
||||
// take the pattern and add the lang group to it
|
||||
AddLangGroup(pat, aLangGroup);
|
||||
if (aLangGroup)
|
||||
AddLangGroup(pat, aLangGroup);
|
||||
|
||||
// get the font list
|
||||
fs = FcFontList(0, pat, os);
|
||||
|
|
Загрузка…
Ссылка в новой задаче