Fix another typo.

svn path=/trunk/; revision=26866
This commit is contained in:
Maarten Bosma 2007-05-22 10:58:27 +00:00
parent fb06e53fc5
commit 5dd4476d06

View file

@ -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: */