aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-15 00:10:27 +0100
committerEugene Sandulenko2019-12-15 00:10:27 +0100
commit9cd37b0d118afd2a3d890b32a4a4924988eef7f1 (patch)
tree9e29029274437ecafc783d0479025017dea2fc0c /graphics/macgui
parentdbd7581c414a63cb758ebfe93ceff0b4d72dede8 (diff)
downloadscummvm-rg350-9cd37b0d118afd2a3d890b32a4a4924988eef7f1.tar.gz
scummvm-rg350-9cd37b0d118afd2a3d890b32a4a4924988eef7f1.tar.bz2
scummvm-rg350-9cd37b0d118afd2a3d890b32a4a4924988eef7f1.zip
GRAPHICS: MACGUI: Improved debug output for MacText
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/mactext.cpp4
1 files changed, 2 insertions, 2 deletions
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());