From 9cd37b0d118afd2a3d890b32a4a4924988eef7f1 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 15 Dec 2019 00:10:27 +0100 Subject: GRAPHICS: MACGUI: Improved debug output for MacText --- graphics/macgui/mactext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 044931da70..f12a4151be 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -347,7 +347,7 @@ void MacText::render(int from, int to) { // TODO: _textMaxWidth, when -1, was not rendering ANY text. for (uint j = 0; j < _textLines[i].chunks.size(); j++) { - debug(5, "line %d[%d]/%d at %d,%d (%s)", i, j, xOffset, _textLines[i].chunks[j].fontId, _textLines[i].y, _textLines[i].chunks[j].text.encode().c_str()); + debug(5, "MacText::render: line %d[%d]/%d at %d,%d (%s)", i, j, xOffset, _textLines[i].chunks[j].fontId, _textLines[i].y, _textLines[i].chunks[j].text.encode().c_str()); if (_textLines[i].chunks[j].text.empty()) continue; @@ -358,7 +358,7 @@ void MacText::render(int from, int to) { } for (uint i = 0; i < _textLines.size(); i++) { - debugN(4, "%2d ", i); + debugN(4, "MacText::render: %2d ", i); for (uint j = 0; j < _textLines[i].chunks.size(); j++) debugN(4, "[%d (%d)] \"%s\" ", _textLines[i].chunks[j].fontId, _textLines[i].chunks[j].textSlant, _textLines[i].chunks[j].text.encode().c_str()); -- cgit v1.2.3