Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/myrulib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKandrashin Denis <mail@lintest.ru>2013-02-02 02:30:05 +0400
committerKandrashin Denis <mail@lintest.ru>2013-02-02 02:30:05 +0400
commit825e770295ca5d91c75c7f8e18de20fb6d977208 (patch)
tree497ddfe1673a7c9850ff187d6e97fb98baa76751
parentc5cd152ae3888f73dd3d9bcb0873cb5bf4d8ce78 (diff)
Patch for CREngine
-rw-r--r--3rdparty/crengine/src/lvfntman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/crengine/src/lvfntman.cpp b/3rdparty/crengine/src/lvfntman.cpp
index 49125a70..9d6a8660 100644
--- a/3rdparty/crengine/src/lvfntman.cpp
+++ b/3rdparty/crengine/src/lvfntman.cpp
@@ -502,7 +502,7 @@ static LVFontGlyphCacheItem * newItem( LVFontLocalGlyphCache * local_cache, lCha
lUInt8 w = (lUInt8)(bitmap->width);
lUInt8 h = (lUInt8)(bitmap->rows);
LVFontGlyphCacheItem * item = LVFontGlyphCacheItem::newItem(local_cache, ch, w, h );
- if ( bitmap->pixel_mode==FT_PIXEL_MODE_MONO ) { //drawMonochrome
+ if ( FT_Pixel_Mode(bitmap->pixel_mode)==FT_PIXEL_MODE_MONO ) { //drawMonochrome
lUInt8 mask = 0x80;
const lUInt8 * ptr = (const lUInt8 *)bitmap->buffer;
lUInt8 * dst = item->bmp;