mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 524462. Fix startup crash in pref fonts with funky cmaps. r=jdaggett
This commit is contained in:
parent
9e35e4594c
commit
039ec98ac1
@ -1323,7 +1323,9 @@ gfxWindowsFontGroup::FamilyListToArrayList(const nsString& aFamilies,
|
||||
for (PRUint32 i = 0; i < len; ++i) {
|
||||
const nsString& str = fonts[i];
|
||||
nsRefPtr<FontEntry> fe = gfxWindowsPlatform::GetPlatform()->FindFontEntry(str, mStyle);
|
||||
list->AppendElement(fe);
|
||||
if (fe) {
|
||||
list->AppendElement(fe);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user