From 5dd4476d0617b4bc550b7953e010811b5e4f09aa Mon Sep 17 00:00:00 2001 From: Maarten Bosma Date: Tue, 22 May 2007 10:58:27 +0000 Subject: [PATCH] Fix another typo. svn path=/trunk/; revision=26866 --- reactos/dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c b/reactos/dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c index 43808d2ea9d..1a2d3353e27 100644 --- a/reactos/dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c +++ b/reactos/dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c @@ -33,7 +33,7 @@ Main_DirectDraw_SetCooperativeLevel (LPDIRECTDRAW7 iface, HWND hwnd, DWORD coopl } #endif - if(hwnd && IsWindow(hwnd)) + if(hwnd && !IsWindow(hwnd)) return DDERR_INVALIDPARAMS; /* Tests suggest that we need one of them: */