From 10a5ded45734d950f20296b8fa399bbe54194158 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 23 Oct 2001 00:29:25 +0000 Subject: [PATCH] Fixed window handle check in GetDCEx. --- windows/dce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/dce.c b/windows/dce.c index b6f6e669c48..49d9ff4eb16 100644 --- a/windows/dce.c +++ b/windows/dce.c @@ -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; -- 2.11.4.GIT