mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[User32] Fix incorrect check.
Use Lo Word instead of Intersource check. Fix wine user32 tests.
This commit is contained in:
parent
037c744eb1
commit
83f86b8fdb
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ RtlGetExpWinVer( HMODULE hModule )
|
|||
DWORD dwMinorVersion = 10;
|
||||
PIMAGE_NT_HEADERS pinth;
|
||||
|
||||
if ( hModule && !((ULONG_PTR)hModule >> 16))
|
||||
if ( hModule && !LOWORD( ((ULONG_PTR)hModule) ))
|
||||
{
|
||||
pinth = RtlImageNtHeader( hModule );
|
||||
if ( pinth )
|
||||
|
|
Loading…
Reference in a new issue