https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f48eb70af3a3858c0b10c9...
commit f48eb70af3a3858c0b10c9073d10a80f740836b3 Author: Andrew Boyarshin andrew.boyarshin@gmail.com AuthorDate: Sun Nov 25 20:31:23 2018 +0700 Commit: Hermès BÉLUSCA - MAÏTO hermes.belusca-maito@reactos.org CommitDate: Sun Nov 25 14:31:23 2018 +0100
[WIN32K][NTUSER] Specify constant name explicitly (#1067)
Reduce confusion by specifying the omitted constant HWND_TOP == 0. --- win32ss/user/ntuser/winpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c index b805e9f25a..39dbc0c755 100644 --- a/win32ss/user/ntuser/winpos.c +++ b/win32ss/user/ntuser/winpos.c @@ -3326,7 +3326,7 @@ NtUserSetWindowPos( RETURN(FALSE); }
- if ( hWndInsertAfter && + if ( hWndInsertAfter != HWND_TOP && hWndInsertAfter != HWND_BOTTOM && hWndInsertAfter != HWND_TOPMOST && hWndInsertAfter != HWND_NOTOPMOST )