зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1294448 followup - Cosmetic fixes to code style, no functional change. r=jrmuizel
This commit is contained in:
Родитель
55b297ca39
Коммит
c3be9496a6
|
@ -1497,19 +1497,22 @@ gfxFontUtils::ReadNames(const char *aNameData, uint32_t aDataLen,
|
|||
uint32_t platformID;
|
||||
|
||||
// skip over unwanted nameID's
|
||||
if (uint32_t(nameRecord->nameID) != aNameID)
|
||||
if (uint32_t(nameRecord->nameID) != aNameID) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// skip over unwanted platform data
|
||||
platformID = nameRecord->platformID;
|
||||
if (aPlatformID != PLATFORM_ALL
|
||||
&& platformID != uint32_t(aPlatformID))
|
||||
if (aPlatformID != PLATFORM_ALL &&
|
||||
platformID != uint32_t(aPlatformID)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// skip over unwanted languages
|
||||
if (aLangID != LANG_ALL
|
||||
&& uint32_t(nameRecord->languageID) != uint32_t(aLangID))
|
||||
if (aLangID != LANG_ALL &&
|
||||
uint32_t(nameRecord->languageID) != uint32_t(aLangID)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// add name to names array
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче