diff --git a/gfx/thebes/gfxFontUtils.cpp b/gfx/thebes/gfxFontUtils.cpp index 71b4362692cb..334bab116211 100644 --- a/gfx/thebes/gfxFontUtils.cpp +++ b/gfx/thebes/gfxFontUtils.cpp @@ -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