diff options
author | Cameron Cawley | 2018-12-23 13:57:20 +0000 |
---|---|---|
committer | Filippos Karapetis | 2018-12-23 15:57:20 +0200 |
commit | 2097c33b57d1a105b7f72637cd4a6cf2be3fc39e (patch) | |
tree | aaf06d9824b6a3b56ec86051f58884cb832416e2 /engines | |
parent | 2c1661bff2c91efb7299fdd3ba1b01b1f28f3b3a (diff) | |
download | scummvm-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 'engines')
-rw-r--r-- | engines/director/frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 231a2ea3b9..fe0f2569f1 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -772,7 +772,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo Graphics::MacFont *macFont = new Graphics::MacFont(textCast->fontId, textCast->fontSize, textCast->textSlant); - debugC(3, kDebugText, "renderText: x: %d y: %d w: %d h: %d font: '%s'", x, y, width, height, _vm->_wm->_fontMan->getFontName(*macFont)); + debugC(3, kDebugText, "renderText: x: %d y: %d w: %d h: %d font: '%s'", x, y, width, height, _vm->_wm->_fontMan->getFontName(*macFont).c_str()); uint16 boxShadow = (uint16)textCast->boxShadow; uint16 borderSize = (uint16)textCast->borderSize; |