mirror of
https://github.com/reactos/reactos.git
synced 2024-08-03 10:00:56 +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;
|
HDC hDC;
|
||||||
|
|
||||||
hWnd = IntGetDesktopWindow();
|
hWnd = IntGetDesktopWindow();
|
||||||
if (hWnd && !(Wnd = UserGetWindowObject(hWnd)))
|
if (!(Wnd = UserGetWindowObject(hWnd)))
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue