#155175 Certain truetype fonts crash mozilla
correct a misuse of parenthesis. p=Andrew Schultz , r=bstell, sr=rbs, a=brendan git-svn-id: svn://10.0.0.236/trunk@125513 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3560250015
commit
3816d9f036
@ -826,7 +826,7 @@ nsFT2FontCatalog::doGetFontNames(const char* aPattern, nsFontNodeArray* aNodes)
|
||||
|
||||
for (i=0; i<mFontCatalog->numFonts; i++) {
|
||||
nsFontCatalogEntry *fce = mFontCatalog->fonts[i];
|
||||
if (!fce->mFlags&FCE_FLAGS_ISVALID)
|
||||
if (!(fce->mFlags&FCE_FLAGS_ISVALID))
|
||||
continue;
|
||||
if (foundry && !STRMATCH(foundry,fce->mFoundryName))
|
||||
continue;
|
||||
|
||||
@ -826,7 +826,7 @@ nsFT2FontCatalog::doGetFontNames(const char* aPattern, nsFontNodeArray* aNodes)
|
||||
|
||||
for (i=0; i<mFontCatalog->numFonts; i++) {
|
||||
nsFontCatalogEntry *fce = mFontCatalog->fonts[i];
|
||||
if (!fce->mFlags&FCE_FLAGS_ISVALID)
|
||||
if (!(fce->mFlags&FCE_FLAGS_ISVALID))
|
||||
continue;
|
||||
if (foundry && !STRMATCH(foundry,fce->mFoundryName))
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user