#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:
shanjian%netscape.com 2002-07-19 21:21:23 +00:00
parent 3560250015
commit 3816d9f036
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;