Index: core/fxge/ge/cfx_facecache.cpp |
diff --git a/core/fxge/ge/cfx_facecache.cpp b/core/fxge/ge/cfx_facecache.cpp |
index 6c5bba20187ce159609ac255025649d827d0bb84..2b8405941eb61c42b88250201aef611042c242d8 100644 |
--- a/core/fxge/ge/cfx_facecache.cpp |
+++ b/core/fxge/ge/cfx_facecache.cpp |
@@ -386,9 +386,6 @@ CFX_GlyphBitmap* CFX_FaceCache::LookUpGlyphBitmap( |
CFX_GlyphBitmap* pGlyphBitmap = RenderGlyph(pFont, glyph_index, bFontStyle, |
pMatrix, dest_width, anti_alias); |
- if (!pGlyphBitmap) |
- return nullptr; |
- |
pSizeCache->m_GlyphMap[glyph_index] = pGlyphBitmap; |
return pGlyphBitmap; |
} |