aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-15 13:49:36 +0100
committerEugene Sandulenko2019-12-16 01:01:22 +0100
commitace0bbdceb0b9319a33a6e4211d6dcbddb75b61a (patch)
tree5e221cc4a10f23d616f615f3af714abd00ca5e9a /engines
parent8593a9e1e4e8dd1f5dfac9b1304a417df9a742e6 (diff)
downloadscummvm-rg350-ace0bbdceb0b9319a33a6e4211d6dcbddb75b61a.tar.gz
scummvm-rg350-ace0bbdceb0b9319a33a6e4211d6dcbddb75b61a.tar.bz2
scummvm-rg350-ace0bbdceb0b9319a33a6e4211d6dcbddb75b61a.zip
DIRECTOR: Hid noisy warning
Diffstat (limited to 'engines')
-rw-r--r--engines/director/cachedmactext.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/director/cachedmactext.cpp b/engines/director/cachedmactext.cpp
index 94ec79ac73..69c75755b0 100644
--- a/engines/director/cachedmactext.cpp
+++ b/engines/director/cachedmactext.cpp
@@ -24,6 +24,7 @@
#include "graphics/macgui/mactext.h"
#include "graphics/macgui/macwindowmanager.h"
+#include "director/director.h"
#include "director/cachedmactext.h"
#include "director/cast.h"
@@ -45,7 +46,7 @@ void CachedMacText::makeMacText() {
_textCast->_fontSize,
_textCast->_textSlant);
- debug(5, "CachedMacText::makeMacText(): font id: %d size: %d slant: %d name: %s '%s'",
+ debugC(5, kDebugText, "CachedMacText::makeMacText(): font id: %d size: %d slant: %d name: %s '%s'",
_textCast->_fontId, _textCast->_fontSize, _textCast->_textSlant, macFont->getName().c_str(),
Common::toPrintable(_textCast->_ftext).c_str());
@@ -69,7 +70,7 @@ 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());
+ debugC(5, kDebugText, "CachedMacText::CachedMacText(): font id: %d '%s'", _textCast->_fontId, Common::toPrintable(_textCast->_ftext).c_str());
if (_width == -1) {
if (version >= 4) {