diff options
author | Willem Jan Palenstijn | 2016-10-28 21:37:57 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-10-28 21:40:14 +0200 |
commit | ebf173b9ce4305a373c0e24171ed7dec51093c5e (patch) | |
tree | 1f1f5993cc484bf9d5b54fe3a7be72746a2f56e3 /engines/sci/parser/vocabulary.cpp | |
parent | ae683e33e16f1775c69ff8a942bae220cd98cbda (diff) | |
download | scummvm-rg350-ebf173b9ce4305a373c0e24171ed7dec51093c5e.tar.gz scummvm-rg350-ebf173b9ce4305a373c0e24171ed7dec51093c5e.tar.bz2 scummvm-rg350-ebf173b9ce4305a373c0e24171ed7dec51093c5e.zip |
SCI: Fix broken loop count check in checkAltInputs
Diffstat (limited to 'engines/sci/parser/vocabulary.cpp')
-rw-r--r-- | engines/sci/parser/vocabulary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/parser/vocabulary.cpp b/engines/sci/parser/vocabulary.cpp index a09ba8f3ce..a0f958167d 100644 --- a/engines/sci/parser/vocabulary.cpp +++ b/engines/sci/parser/vocabulary.cpp @@ -365,7 +365,7 @@ bool Vocabulary::checkAltInput(Common::String& text, uint16& cursorPos) { } } } - } while (changed && loopCount < 10); + } while (changed && loopCount++ < 10); return ret; } |