aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/charset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/simon/charset.cpp')
-rw-r--r--engines/simon/charset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/charset.cpp b/engines/simon/charset.cpp
index 84f31bdf09..9eb032005d 100644
--- a/engines/simon/charset.cpp
+++ b/engines/simon/charset.cpp
@@ -318,7 +318,7 @@ void SimonEngine::showmessage_print_char(byte chr) {
print_char_helper_5(_textWindow);
} else if (chr == 0 || chr == ' ' || chr == 10) {
uint count = (getGameType() == GType_FF) ? _printCharPixelCount : _numLettersToPrint;
- if (_printCharMaxPos - _printCharCurPos > /* count */_printCharPixelCount) {
+ if (_printCharMaxPos - _printCharCurPos > count) {
_printCharCurPos += count;
print_char_helper_1(_lettersToPrintBuf, _numLettersToPrint);