aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-09 22:00:58 +0100
committerEugene Sandulenko2019-12-10 00:32:54 +0100
commit1c119b41197f2de5c2615f2fdd74e07824b7a268 (patch)
tree7a60abe70e2327fcb5810d01b80d4e561ef5f70c /engines
parentfeb2185742a7eb404d55252ea3952139655d5ba8 (diff)
downloadscummvm-rg350-1c119b41197f2de5c2615f2fdd74e07824b7a268.tar.gz
scummvm-rg350-1c119b41197f2de5c2615f2fdd74e07824b7a268.tar.bz2
scummvm-rg350-1c119b41197f2de5c2615f2fdd74e07824b7a268.zip
DIRECTOR: Use toPrintable() for debug text output
Diffstat (limited to 'engines')
-rw-r--r--engines/director/frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp
index 87f6b43e85..9d7c1790e8 100644
--- a/engines/director/frame.cpp
+++ b/engines/director/frame.cpp
@@ -775,7 +775,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' text: '%s'", x, y, width, height, _vm->_wm->_fontMan->getFontName(*macFont).c_str(), textCast->_ftext.c_str());
+ debugC(3, kDebugText, "renderText: x: %d y: %d w: %d h: %d font: '%s' text: '%s'", x, y, width, height, _vm->_wm->_fontMan->getFontName(*macFont).c_str(), Common::toPrintable(textCast->_ftext).c_str());
uint16 boxShadow = (uint16)textCast->_boxShadow;
uint16 borderSize = (uint16)textCast->_borderSize;