GRAPHICS: Add more debug output to MacText

This commit is contained in:
Eugene Sandulenko 2017-02-01 11:23:58 +01:00
parent 3dc565df26
commit 6fbb82f85b
2 changed files with 15 additions and 0 deletions

View file

@ -79,6 +79,15 @@ void MacText::splitString(Common::String &str) {
bool nextChunk = false;
while (*s) {
for (uint i = 0; i < _textLines.size(); i++) {
debugN(7, "%2d ", i);
for (uint j = 0; j < _textLines[i].chunks.size(); j++)
debugN(7, "[%d] \"%s\"", _textLines[i].chunks[j].fontId, _textLines[i].chunks[j].text.c_str());
debug(7, " --> %c %d", (*s > 0x20 ? *s : ' '), (byte)*s);
}
if (*s == '\001') {
s++;
if (*s == '\001') {