mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
oops
svn-id: r20302
This commit is contained in:
parent
2fcb159a98
commit
29a1aebe6a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user