diff options
author | Eugene Sandulenko | 2019-12-14 00:37:06 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-14 00:37:06 +0100 |
commit | cd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8 (patch) | |
tree | 1268d66177419a4bc272b8e3e17ff301742817c1 | |
parent | 409f0b50d7a0fa7c9839b5ea775f398a4a54317f (diff) | |
download | scummvm-rg350-cd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8.tar.gz scummvm-rg350-cd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8.tar.bz2 scummvm-rg350-cd45caa1e0ab9717907d61dca1d3bfb8a83ff4c8.zip |
DIRECTOR: Improved debug output
-rw-r--r-- | engines/director/cachedmactext.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/cachedmactext.cpp b/engines/director/cachedmactext.cpp index 531d056582..dbb8abc6e4 100644 --- a/engines/director/cachedmactext.cpp +++ b/engines/director/cachedmactext.cpp @@ -55,7 +55,7 @@ void CachedMacText::makeMacText() { 1); // TODO destroy me - debug(5, "CachedMacText::makeMacText(): rendering '%s'", Common::toPrintable(_textCast->_ftext).c_str()); + debug(5, "CachedMacText::makeMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str()); } CachedMacText::CachedMacText(TextCast *const textCast, @@ -67,6 +67,8 @@ CachedMacText::CachedMacText(TextCast *const textCast, _surface(NULL), _macText(NULL), _width(defaultWidth), _dirty(true), _textCast(textCast), _wm(wm) { + debug(5, "CachedMacText::CachedMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str()); + if (_width == -1) { if (version >= 4) { // This came from frame.cpp |