diff options
author | Max Horn | 2006-01-29 19:41:43 +0000 |
---|---|---|
committer | Max Horn | 2006-01-29 19:41:43 +0000 |
commit | 29a1aebe6aaef6cb4dccb834572784e01b637bbb (patch) | |
tree | 2c959623b193a1182027783dbcb63fc24f39a76f /gob/inter_v1.cpp | |
parent | 2fcb159a98f44ecd647f833b20ca4e1a14a60994 (diff) | |
download | scummvm-rg350-29a1aebe6aaef6cb4dccb834572784e01b637bbb.tar.gz scummvm-rg350-29a1aebe6aaef6cb4dccb834572784e01b637bbb.tar.bz2 scummvm-rg350-29a1aebe6aaef6cb4dccb834572784e01b637bbb.zip |
oops
svn-id: r20302
Diffstat (limited to 'gob/inter_v1.cpp')
-rw-r--r-- | gob/inter_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gob/inter_v1.cpp b/gob/inter_v1.cpp index 9e5c0aa876..650246ead2 100644 --- a/gob/inter_v1.cpp +++ b/gob/inter_v1.cpp @@ -1033,7 +1033,7 @@ bool Inter_v1::o1_strstr(char &cmdCount, int16 &counter, int16 &retFlag) { 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; } |