Fixed window handle check in GetDCEx.

This commit is contained in:
Alexandre Julliard 2001-10-23 00:29:25 +00:00
parent 55557319a7
commit 10a5ded457
1 changed files with 2 additions and 2 deletions

View File

@ -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;