Changeset - r20490:fd8166bd400c
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-06-29 12:03:44
rubidium@openttd.org
(svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/fontcache.cpp
Show inline comments
 
@@ -76,7 +76,7 @@ public:
 
	virtual const Sprite *GetGlyph(GlyphID key);
 
	virtual uint GetGlyphWidth(GlyphID key);
 
	virtual bool GetDrawGlyphShadow();
 
	virtual GlyphID MapCharToGlyph(WChar key) { return SPRITE_GLYPH | key; }
 
	virtual GlyphID MapCharToGlyph(WChar key) { assert(IsPrintable(key)); return SPRITE_GLYPH | key; }
 
	virtual const void *GetFontTable(uint32 tag, size_t &length) { length = 0; return NULL; }
 
};
 

	
0 comments (0 inline, 0 general)