[SHELL32]: Fix copypasta bug.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 3 Aug 2016 20:02:28 +0000 (20:02 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 3 Aug 2016 20:02:28 +0000 (20:02 +0000)
svn path=/trunk/; revision=72105

reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp

index 0ac957d..7133a0b 100644 (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));
     }