mirror of
https://github.com/decompals/wibo.git
synced 2025-12-12 14:46:09 +00:00
Dont set ERROR_SUCCESS generally
Turns out we should only be setting this in a select few cases.
This commit is contained in:
@@ -202,7 +202,6 @@ BOOL WIN_FUNC GetVersionExA(LPOSVERSIONINFOA lpVersionInformation) {
|
||||
lpVersionInformation->dwMinorVersion = kMinorVersion;
|
||||
lpVersionInformation->dwBuildNumber = kBuildNumber;
|
||||
lpVersionInformation->dwPlatformId = 2;
|
||||
wibo::lastError = ERROR_SUCCESS;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user