A correct check, finally.

svn path=/trunk/; revision=25161
This commit is contained in:
Aleksey Bragin 2006-12-14 13:22:55 +00:00
parent 734c8972dd
commit 627e0b918d

View file

@ -2933,7 +2933,7 @@ IntChangeDisplaySettings(
HDC hDC;
hWnd = IntGetDesktopWindow();
if (hWnd && !(Wnd = UserGetWindowObject(hWnd)))
if (!(Wnd = UserGetWindowObject(hWnd)))
{
return FALSE;
}