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) --- engines/director/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3