aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactext.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-02 10:21:08 +0200
committerEugene Sandulenko2017-08-04 21:54:19 +0200
commitfe8ef60e08446c725c4bdedcf152ab60f49c0f17 (patch)
tree7eaf0e9b40d3c77d0bdb12a11ea0423c89f9df05 /graphics/macgui/mactext.cpp
parent77932d58388f2b68f74b540026f6b58b33b8fd86 (diff)
downloadscummvm-rg350-fe8ef60e08446c725c4bdedcf152ab60f49c0f17.tar.gz
scummvm-rg350-fe8ef60e08446c725c4bdedcf152ab60f49c0f17.tar.bz2
scummvm-rg350-fe8ef60e08446c725c4bdedcf152ab60f49c0f17.zip
GRAPHICS: MACGUI: Added more debug output to MacText
Diffstat (limited to 'graphics/macgui/mactext.cpp')
-rw-r--r--graphics/macgui/mactext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index ea02e9e8e3..ad3a3a31bf 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -262,6 +262,8 @@ 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.c_str());
+
if (_textLines[i].chunks[j].text.empty())
continue;