Index: core/fxge/ge/fx_ge_text.cpp |
diff --git a/core/fxge/ge/fx_ge_text.cpp b/core/fxge/ge/fx_ge_text.cpp |
index 9ad93d872a65ce9f35a9bcf675ef30c0b46fc342..8e4b5d34c8a748f1df60b8f364bffde24d96e459 100644 |
--- a/core/fxge/ge/fx_ge_text.cpp |
+++ b/core/fxge/ge/fx_ge_text.cpp |
@@ -413,7 +413,7 @@ FX_BOOL CFX_RenderDevice::DrawNormalText(int nChars, |
} |
continue; |
} |
- FX_BOOL bBGRStripe = text_flags & FXTEXT_BGR_STRIPE; |
+ FX_BOOL bBGRStripe = !!(text_flags & FXTEXT_BGR_STRIPE); |
dsinclair
2016/05/04 13:11:51
nit: bool
Tom Sepez
2016/05/04 20:21:25
Done.
|
ncols /= 3; |
int x_subpixel = (int)(glyph.m_fOriginX * 3) % 3; |
uint8_t* src_buf = pGlyph->GetBuffer(); |