Fix SetFilePointerEx to return FALSE instead of INVALID_SET_FILE_POINTER (#41)

This commit is contained in:
Anghelo Carvajal 2023-09-10 09:54:25 -03:00 committed by GitHub
parent 8ab683e5c6
commit a5499f27de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);