user.exe16: Replace (HWND)0xffff with HWND_BROADCAST.

Michael Stefaniuc mstefani at redhat.de
Thu Mar 4 15:49:05 CST 2010


---
 dlls/user.exe16/window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user.exe16/window.c b/dlls/user.exe16/window.c
index e81d9ac..3fbe54c 100644
--- a/dlls/user.exe16/window.c
+++ b/dlls/user.exe16/window.c
@@ -69,7 +69,7 @@ static BOOL CALLBACK wnd_enum_callback( HWND hwnd, LPARAM param )
 static inline HWND full_insert_after_hwnd( HWND16 hwnd )
 {
     HWND ret = WIN_Handle32( hwnd );
-    if (ret == (HWND)0xffff) ret = HWND_TOPMOST;
+    if (ret == HWND_BROADCAST) ret = HWND_TOPMOST;
     return ret;
 }
 
-- 
1.7.0.1



More information about the wine-patches mailing list