[Scummvm-cvs-logs] CVS: scummvm/gob inter_v1.cpp,1.11,1.12

Max Horn fingolfin at users.sourceforge.net
Sun Jan 29 11:42:05 CET 2006


Update of /cvsroot/scummvm/scummvm/gob
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23686

Modified Files:
	inter_v1.cpp 
Log Message:
oops

Index: inter_v1.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gob/inter_v1.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- inter_v1.cpp	29 Jan 2006 19:18:15 -0000	1.11
+++ inter_v1.cpp	29 Jan 2006 19:41:43 -0000	1.12
@@ -1033,7 +1033,7 @@
 	resVar = _vm->_parse->parseVarIndex();
 
 	char *res = strstr(_vm->_global->_inter_variables + strVar, _vm->_global->_inter_resStr);
-	pos = res ? (res - (_vm->_global->_inter_variables + strVar)) : 0;
+	pos = res ? (res - (_vm->_global->_inter_variables + strVar)) : -1;
 	WRITE_VAR_OFFSET(resVar, pos);
 	return false;
 }





More information about the Scummvm-git-logs mailing list