mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:50:37 +00:00
Set last error to 0 on success in VERSION_GetFileVersionInfo_PE now
that LoadLibraryW doesn't do this anymore.
This commit is contained in:
parent
e792fb74ba
commit
82398e10c1
|
@ -351,6 +351,7 @@ static DWORD VERSION_GetFileVersionInfo_PE( LPCWSTR filename, LPDWORD handle,
|
|||
else
|
||||
len = 0xFFFFFFFF;
|
||||
}
|
||||
SetLastError(0);
|
||||
END:
|
||||
FreeResource(hMem);
|
||||
FreeLibrary(hModule);
|
||||
|
|
Loading…
Reference in a new issue