WOW silence

Eric Pouech eric.pouech at wanadoo.fr
Tue Oct 29 09:59:42 CST 2002


this patch silences an erroneous ERR message for ThreadID => HTASK16
conversion
A+
-------------- next part --------------
Name:          wow
ChangeLog:     silence unneeded ERR while converting tasks
License:       X11
GenDate:       2002/10/29 15:58:37 UTC
ModifiedFiles: dlls/kernel/wowthunk.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/kernel/wowthunk.c,v
retrieving revision 1.28
diff -u -u -r1.28 wowthunk.c
--- dlls/kernel/wowthunk.c	25 Oct 2002 21:02:30 -0000	1.28
+++ dlls/kernel/wowthunk.c	29 Oct 2002 14:06:52 -0000
@@ -238,9 +238,6 @@
  */
 WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type )
 {
-    if ( HIWORD(handle ) )
-        ERR( "handle %p of type %d has non-zero HIWORD\n", handle, type );
-
     switch ( type )
     {
     case WOW_TYPE_HWND:
@@ -256,6 +253,8 @@
     case WOW_TYPE_HPEN:
     case WOW_TYPE_HACCEL:
     case WOW_TYPE_FULLHWND:
+    	if ( HIWORD(handle ) )
+        	ERR( "handle %p of type %d has non-zero HIWORD\n", handle, type );
         return LOWORD(handle);
 
     case WOW_TYPE_HMETAFILE:


More information about the wine-patches mailing list