aboutsummaryrefslogtreecommitdiff
path: root/engines/director/stxt.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-10 23:57:16 +0100
committerEugene Sandulenko2019-12-11 00:45:12 +0100
commitff68862ecc404ce32c86831c902bdd6375a13116 (patch)
treef24065d0cb6e8d3516d00adb9000b63d2e2036dc /engines/director/stxt.cpp
parent2c8b656bb395de39767712ea48f467098b11e3df (diff)
downloadscummvm-rg350-ff68862ecc404ce32c86831c902bdd6375a13116.tar.gz
scummvm-rg350-ff68862ecc404ce32c86831c902bdd6375a13116.tar.bz2
scummvm-rg350-ff68862ecc404ce32c86831c902bdd6375a13116.zip
DIRECTOR: Escape Stxt debug output
Diffstat (limited to 'engines/director/stxt.cpp')
-rw-r--r--engines/director/stxt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/stxt.cpp b/engines/director/stxt.cpp
index 965dc49903..463e5f705c 100644
--- a/engines/director/stxt.cpp
+++ b/engines/director/stxt.cpp
@@ -40,7 +40,7 @@ Stxt::Stxt(Common::SeekableSubReadStreamEndian &textStream) {
}
debugC(3, kDebugText, "Stxt init: unk1: %d strLen: %d dataLen: %d textlen: %u", unk1, strLen, dataLen, text.size());
if (strLen < 200)
- debugC(3, kDebugText, "text: '%s'", text.c_str());
+ debugC(3, kDebugText, "text: '%s'", Common::toPrintable(text).c_str());
uint16 formattingCount = textStream.readUint16();
uint32 prevPos = 0;
@@ -92,7 +92,7 @@ Stxt::Stxt(Common::SeekableSubReadStreamEndian &textStream) {
formattingCount--;
}
- debugC(4, kDebugText, "%s", text.c_str());
+ debugC(4, kDebugText, "#### text:\n%s\n####", Common::toPrintable(_ftext).c_str());
_ftext += text;
}