mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 07:35:10 +00:00
A correct check, finally.
svn path=/trunk/; revision=25161
This commit is contained in:
parent
734c8972dd
commit
627e0b918d
|
@ -2933,7 +2933,7 @@ IntChangeDisplaySettings(
|
|||
HDC hDC;
|
||||
|
||||
hWnd = IntGetDesktopWindow();
|
||||
if (hWnd && !(Wnd = UserGetWindowObject(hWnd)))
|
||||
if (!(Wnd = UserGetWindowObject(hWnd)))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue