[SHELL32]: Fix copypasta bug.

svn path=/trunk/; revision=72105
This commit is contained in:
Hermès Bélusca-Maïto 2016-08-03 20:02:28 +00:00
parent 8491cda803
commit d77a6b17da

View file

@ -119,7 +119,7 @@ HRESULT CDesktopBrowser::Initialize(IShellDesktopTray *ShellDesk)
/* Calculate the size and pos of the window */
RECT rect;
if (!GetSystemMetrics(SM_CXVIRTUALSCREEN) || GetSystemMetrics(SM_CYVIRTUALSCREEN))
if (!GetSystemMetrics(SM_CXVIRTUALSCREEN) || !GetSystemMetrics(SM_CYVIRTUALSCREEN))
{
SetRect(&rect, 0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN));
}