From 2097c33b57d1a105b7f72637cd4a6cf2be3fc39e Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Sun, 23 Dec 2018 13:57:20 +0000 Subject: GRAPHICS: MACGUI: Make use of Common::String::format (#1454) --- graphics/macgui/macfontmanager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/macgui/macfontmanager.h') diff --git a/graphics/macgui/macfontmanager.h b/graphics/macgui/macfontmanager.h index 0fb92ace52..ddd928234b 100644 --- a/graphics/macgui/macfontmanager.h +++ b/graphics/macgui/macfontmanager.h @@ -123,8 +123,8 @@ public: * @param size size of the font * @return the font name or NULL if ID goes beyond the mapping */ - const char *getFontName(int id, int size, int slant = kMacFontRegular, bool tryGen = false); - const char *getFontName(MacFont &font); + const Common::String getFontName(int id, int size, int slant = kMacFontRegular, bool tryGen = false); + const Common::String getFontName(MacFont &font); int getFontIdByName(Common::String name); void loadFonts(Common::SeekableReadStream *stream); -- cgit v1.2.3