Skip to content

Commit

Permalink
SCI32: Fix drawText on consecutive control codes
Browse files Browse the repository at this point in the history
  • Loading branch information
wjp authored and csnover committed Jun 21, 2016
1 parent 97c11e7 commit c4b41f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/sci/graphics/text32.cpp
Expand Up @@ -311,6 +311,10 @@ void GfxText32::drawText(const uint index, uint length) {
++text;
--length;
}
if (length > 0) {
++text;
--length;
}
} else {
drawChar(currentChar);
}
Expand Down

0 comments on commit c4b41f5

Please sign in to comment.