diff options
author | strangerke | 2011-03-10 00:25:29 +0100 |
---|---|---|
committer | strangerke | 2011-03-10 00:25:29 +0100 |
commit | cf657d09e84f41ff8234f26e6086c48dfb2e8fb4 (patch) | |
tree | 83f9c5c0d9daa29ff4d6794347b58c15b6c84a7c /engines/toon/font.cpp | |
parent | 6fd6291390883506889420564f758590689b1864 (diff) | |
download | scummvm-rg350-cf657d09e84f41ff8234f26e6086c48dfb2e8fb4.tar.gz scummvm-rg350-cf657d09e84f41ff8234f26e6086c48dfb2e8fb4.tar.bz2 scummvm-rg350-cf657d09e84f41ff8234f26e6086c48dfb2e8fb4.zip |
TOON: Janitorial: Suppress blanks at end of lines
Diffstat (limited to 'engines/toon/font.cpp')
-rw-r--r-- | engines/toon/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toon/font.cpp b/engines/toon/font.cpp index 53786f8617..8ce4d32c37 100644 --- a/engines/toon/font.cpp +++ b/engines/toon/font.cpp @@ -278,7 +278,7 @@ void FontRenderer::renderMultiLineText(int32 x, int32 y, Common::String origText const byte *line = lines[i]; curX = x - lineSize[i] / 2; _vm->addDirtyRect(curX + _vm->state()->_currentScrollValue, y, curX + lineSize[i] + _vm->state()->_currentScrollValue, curY + height); - + while (*line) { byte curChar = textToFont(*line); if (curChar != 32) _currentFont->drawFontFrame(_vm->getMainSurface(), curChar, curX + _vm->state()->_currentScrollValue, curY, _currentFontColor); |