aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macfontmanager.h
diff options
context:
space:
mode:
authorCameron Cawley2018-12-23 13:57:20 +0000
committerFilippos Karapetis2018-12-23 15:57:20 +0200
commit2097c33b57d1a105b7f72637cd4a6cf2be3fc39e (patch)
treeaaf06d9824b6a3b56ec86051f58884cb832416e2 /graphics/macgui/macfontmanager.h
parent2c1661bff2c91efb7299fdd3ba1b01b1f28f3b3a (diff)
downloadscummvm-rg350-2097c33b57d1a105b7f72637cd4a6cf2be3fc39e.tar.gz
scummvm-rg350-2097c33b57d1a105b7f72637cd4a6cf2be3fc39e.tar.bz2
scummvm-rg350-2097c33b57d1a105b7f72637cd4a6cf2be3fc39e.zip
GRAPHICS: MACGUI: Make use of Common::String::format (#1454)
Diffstat (limited to 'graphics/macgui/macfontmanager.h')
-rw-r--r--graphics/macgui/macfontmanager.h4
1 files changed, 2 insertions, 2 deletions
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);