| 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..3372b7f95dd0ac341b020db850faf51ba14560a6 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;
|
| + bool bBGRStripe = !!(text_flags & FXTEXT_BGR_STRIPE);
|
| ncols /= 3;
|
| int x_subpixel = (int)(glyph.m_fOriginX * 3) % 3;
|
| uint8_t* src_buf = pGlyph->GetBuffer();
|
|
|