зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1294448 - Fix handling of platform ID in gfxFontUtils::ReadNames, so that fallback to Windows-platform names on Mac works as intended. r=jrmuizel
This commit is contained in:
Родитель
54158acc9a
Коммит
55b297ca39
|
@ -1503,7 +1503,7 @@ gfxFontUtils::ReadNames(const char *aNameData, uint32_t aDataLen,
|
|||
// skip over unwanted platform data
|
||||
platformID = nameRecord->platformID;
|
||||
if (aPlatformID != PLATFORM_ALL
|
||||
&& uint32_t(nameRecord->platformID) != PLATFORM_ID)
|
||||
&& platformID != uint32_t(aPlatformID))
|
||||
continue;
|
||||
|
||||
// skip over unwanted languages
|
||||
|
|
Загрузка…
Ссылка в новой задаче