mirror of https://github.com/decompals/wibo.git
Fix SetFilePointerEx to return FALSE instead of INVALID_SET_FILE_POINTER (#41)
This commit is contained in:
parent
8ab683e5c6
commit
a5499f27de
|
@ -917,7 +917,7 @@ namespace kernel32 {
|
||||||
wibo::lastError = ERROR_NEGATIVE_SEEK;
|
wibo::lastError = ERROR_NEGATIVE_SEEK;
|
||||||
else
|
else
|
||||||
wibo::lastError = ERROR_INVALID_PARAMETER;
|
wibo::lastError = ERROR_INVALID_PARAMETER;
|
||||||
return INVALID_SET_FILE_POINTER;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
r = ftell(fp);
|
r = ftell(fp);
|
||||||
|
|
Loading…
Reference in New Issue