Commit 6b205717 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Silence unneeded ERR while converting tasks.

parent 5e81d9a7
...@@ -238,9 +238,6 @@ HANDLE WINAPI K32WOWHandle32( WORD handle, WOW_HANDLE_TYPE type ) ...@@ -238,9 +238,6 @@ HANDLE WINAPI K32WOWHandle32( WORD handle, WOW_HANDLE_TYPE type )
*/ */
WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type ) 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 ) switch ( type )
{ {
case WOW_TYPE_HWND: case WOW_TYPE_HWND:
...@@ -256,6 +253,8 @@ WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type ) ...@@ -256,6 +253,8 @@ WORD WINAPI K32WOWHandle16( HANDLE handle, WOW_HANDLE_TYPE type )
case WOW_TYPE_HPEN: case WOW_TYPE_HPEN:
case WOW_TYPE_HACCEL: case WOW_TYPE_HACCEL:
case WOW_TYPE_FULLHWND: case WOW_TYPE_FULLHWND:
if ( HIWORD(handle ) )
ERR( "handle %p of type %d has non-zero HIWORD\n", handle, type );
return LOWORD(handle); return LOWORD(handle);
case WOW_TYPE_HMETAFILE: case WOW_TYPE_HMETAFILE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment