diff options
author | agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-01-05 01:19:44 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2010-01-05 01:19:44 +0000 |
commit | 99e1b90d5b0ed2f8b8ac5681d964782130e3ba7e (patch) | |
tree | 81a364a934cc9085b3f92c62b68962a408c8d147 /src | |
parent | 13c8558e37043d4aad8b439ed053fac1cdb6763d (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/ports/SkFontHost_FreeType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp index d4fdf74960..d5a48a6b4b 100644 --- a/src/ports/SkFontHost_FreeType.cpp +++ b/src/ports/SkFontHost_FreeType.cpp @@ -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; |