diff options
author | 2011-06-23 19:39:49 +0000 | |
---|---|---|
committer | 2011-06-23 19:39:49 +0000 | |
commit | c8e0f9311c9ff51ea22f6b017b876393025c0555 (patch) | |
tree | dd8595ab9de6195e6c828f2dbc303f160595cd25 | |
parent | 6b9580c2ef3d0251b762536646b0449c7cae00c3 (diff) |
fix mono bittest
git-svn-id: http://skia.googlecode.com/svn/trunk@1690 2bbb7eff-a529-9590-31e7-b0007b416f81
-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 1c40ad6aa2..692ae287b0 100644 --- a/src/ports/SkFontHost_FreeType.cpp +++ b/src/ports/SkFontHost_FreeType.cpp @@ -1011,7 +1011,7 @@ static uint16_t grayToRGB16(U8CPU gray) { static int bittst(const uint8_t data[], int bitOffset) { SkASSERT(bitOffset >= 0); - int lowBit = data[bitOffset >> 3] >> (1 << (~bitOffset & 7)); + int lowBit = data[bitOffset >> 3] >> (~bitOffset & 7); return lowBit & 1; } |