Commit 10a5ded4 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed window handle check in GetDCEx.

parent 55557319
......@@ -362,9 +362,9 @@ HDC WINAPI GetDCEx( HWND hwnd, HRGN hrgnClip, DWORD flags )
hwnd, hrgnClip, (unsigned)flags);
if (!hwnd) hwnd = GetDesktopWindow();
if (!(full = WIN_IsCurrentProcess( hwnd )) && full != GetDesktopWindow())
if (!(full = WIN_IsCurrentProcess( hwnd )))
{
FIXME( "not supported yet on other process window %x\n", full );
FIXME( "not supported yet on other process window %x\n", hwnd );
return 0;
}
hwnd = full;
......
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