diff options
Diffstat (limited to 'engines/sci/engine/kstring.cpp')
-rw-r--r-- | engines/sci/engine/kstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp index 47488fc357..61c7ee6d47 100644 --- a/engines/sci/engine/kstring.cpp +++ b/engines/sci/engine/kstring.cpp @@ -256,7 +256,7 @@ reg_t kParse(EngineState *s, int funct_nr, int argc, reg_t *argv) { bool res = vocab_tokenize_string(words, string, s->_parserWords, s->_parserSuffixes, &error); s->parser_valid = 0; /* not valid */ - if (!res && !words.empty()) { + if (res && !words.empty()) { int syntax_fail = 0; |