Author: dquintana
Date: Sun Jun 5 09:06:33 2016
New Revision: 71527
URL:
http://svn.reactos.org/svn/reactos?rev=71527&view=rev
Log:
[SHELL32]
Sorry, I'm still half asleep. I did need functional changes.
Modified:
trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
Modified: trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelldes…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp [iso-8859-1]
(original)
+++ trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp [iso-8859-1] Sun Jun
5 09:06:33 2016
@@ -584,7 +584,7 @@
HANDLE WINAPI SHCreateDesktop(IShellDesktopTray *ShellDesk)
{
HWND hWndDesk;
- DWORD x, y, cx, cy;
+ int x, y, cx, cy;
if (ShellDesk == NULL)
{
@@ -603,9 +603,9 @@
cx = GetSystemMetrics(SM_CXVIRTUALSCREEN);
cy = GetSystemMetrics(SM_CYVIRTUALSCREEN);
- if (IsRectEmpty(&rcDesk))
- {
- x = rcDesk.top = 0;
+ if (!cx || !cy)
+ {
+ x = y = 0;
cx = GetSystemMetrics(SM_CXSCREEN);
cy = GetSystemMetrics(SM_CYSCREEN);
}