aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-15 10:57:05 +0100
committerEugene Sandulenko2019-12-15 11:36:26 +0100
commitcc345bacf48ad2ff392f29b73291e1da5eadb0b8 (patch)
tree4e700f0bcbe3674ed119d276dda57606dbdbdb11 /graphics/macgui
parent3ceffecb7c0262aac40944c69d9797912262e891 (diff)
downloadscummvm-rg350-cc345bacf48ad2ff392f29b73291e1da5eadb0b8.tar.gz
scummvm-rg350-cc345bacf48ad2ff392f29b73291e1da5eadb0b8.tar.bz2
scummvm-rg350-cc345bacf48ad2ff392f29b73291e1da5eadb0b8.zip
GRAPHICS: MACGUI: Improved debug output
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/mactext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index fc7dec6c5c..fa70861600 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -161,9 +161,9 @@ void MacText::splitString(Common::U32String &str) {
debugN(7, "%2d ", i);
for (uint j = 0; j < _textLines[i].chunks.size(); j++)
- debugN(7, "[%d] \"%s\"", _textLines[i].chunks[j].fontId, _textLines[i].chunks[j].text.c_str());
+ debugN(7, "[%d] \"%s\"", _textLines[i].chunks[j].fontId, Common::toPrintable(_textLines[i].chunks[j].text.encode()).c_str());
- debug(7, " --> %c %d, '%s'", (*s > 0x20 ? *s : ' '), (byte)*s, tmp.c_str());
+ debug(7, " --> %c %d, '%s'", (*s > 0x20 ? *s : ' '), (byte)*s, Common::toPrintable(tmp.encode()).c_str());
}
#endif