From ace0bbdceb0b9319a33a6e4211d6dcbddb75b61a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 15 Dec 2019 13:49:36 +0100 Subject: DIRECTOR: Hid noisy warning --- engines/director/cachedmactext.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines') 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) { -- cgit v1.2.3