DIRECTOR: Hid noisy warning

This commit is contained in:
Eugene Sandulenko 2019-12-15 13:49:36 +01:00
parent 8593a9e1e4
commit ace0bbdceb

View File

@ -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) {