[Scummvm-cvs-logs] SF.net SVN: scummvm:[39673] scummvm/trunk/engines/sci/engine/kstring.cpp
joostp at users.sourceforge.net
joostp at users.sourceforge.net
Tue Mar 24 20:56:41 CET 2009
Revision: 39673
http://scummvm.svn.sourceforge.net/scummvm/?rev=39673&view=rev
Author: joostp
Date: 2009-03-24 19:56:41 +0000 (Tue, 24 Mar 2009)
Log Message:
-----------
Fix smaller error introduced in r39671 refactoring (this check used to be "res == 0").
Thanks to syke for spotting it.
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kstring.cpp
Modified: scummvm/trunk/engines/sci/engine/kstring.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kstring.cpp 2009-03-24 17:56:01 UTC (rev 39672)
+++ scummvm/trunk/engines/sci/engine/kstring.cpp 2009-03-24 19:56:41 UTC (rev 39673)
@@ -256,7 +256,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list