[Scummvm-cvs-logs] SF.net SVN: scummvm:[44578] scummvm/trunk/engines/sci/console.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sun Oct 4 00:44:16 CEST 2009
Revision: 44578
http://scummvm.svn.sourceforge.net/scummvm/?rev=44578&view=rev
Author: wjpalenstijn
Date: 2009-10-03 22:44:16 +0000 (Sat, 03 Oct 2009)
Log Message:
-----------
SCI: Fix parse error in parse_reg_t
Modified Paths:
--------------
scummvm/trunk/engines/sci/console.cpp
Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp 2009-10-03 22:39:46 UTC (rev 44577)
+++ scummvm/trunk/engines/sci/console.cpp 2009-10-03 22:44:16 UTC (rev 44578)
@@ -2803,7 +2803,7 @@
// Scan for a period, after which (if present) we'll find an index
const char *tmp = Common::find(str_objname.begin(), str_objname.end(), '.');
- if (tmp) {
+ if (tmp != str_objname.end()) {
index = strtol(tmp + 1, &endptr, 16);
if (*endptr)
return -1;
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