Add parens in order to make conditional correct.
I've been coding in Go too much and forgot that C is broken. git-svn-id: http://skia.googlecode.com/svn/trunk@470 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
13c8558e37
commit
99e1b90d5b
@ -376,7 +376,7 @@ SkScalerContext_FreeType::SkScalerContext_FreeType(const SkDescriptor* desc)
|
||||
break;
|
||||
}
|
||||
|
||||
if (fRec.fFlags & SkScalerContext::kEmbeddedBitmapText_Flag == 0)
|
||||
if ((fRec.fFlags & SkScalerContext::kEmbeddedBitmapText_Flag) == 0)
|
||||
loadFlags |= FT_LOAD_NO_BITMAP;
|
||||
|
||||
fLoadGlyphFlags = loadFlags;
|
||||
|
Loading…
Reference in New Issue
Block a user