https://git.reactos.org/?p=reactos.git;a=commitdiff;h=83f86b8fdb5619bd4f7909...
commit 83f86b8fdb5619bd4f790987c0a93a527d5c3e62 Author: James Tabor james.tabor@reactos.org AuthorDate: Tue Oct 19 15:29:51 2021 -0500 Commit: James Tabor james.tabor@reactos.org CommitDate: Tue Oct 19 15:29:51 2021 -0500
[User32] Fix incorrect check.
Use Lo Word instead of Intersource check. Fix wine user32 tests. --- win32ss/user/user32/windows/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/user32/windows/window.c b/win32ss/user/user32/windows/window.c index 60c9feb47f5..d414259515c 100644 --- a/win32ss/user/user32/windows/window.c +++ b/win32ss/user/user32/windows/window.c @@ -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 )