Codechange: Return fontcache font name as std::string.

This commit is contained in:
Peter Nelson
2023-05-26 19:32:41 +01:00
committed by PeterN
parent 90fdf17e39
commit 9976293c1e
6 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ public:
virtual bool GetDrawGlyphShadow();
virtual GlyphID MapCharToGlyph(WChar key) { assert(IsPrintable(key)); return SPRITE_GLYPH | key; }
virtual const void *GetFontTable(uint32 tag, size_t &length) { length = 0; return nullptr; }
virtual const char *GetFontName() { return "sprite"; }
virtual std::string GetFontName() { return "sprite"; }
virtual bool IsBuiltInFont() { return true; }
};