From d17de36214e799823dd353ee5639eff62a79819c Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sat, 13 Sep 2003 19:13:57 +0000 Subject: [PATCH] rename local variable from hwnd to hwndDesktop svn path=/trunk/; revision=6062 --- reactos/subsys/system/explorer/desktop/desktop.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/system/explorer/desktop/desktop.cpp b/reactos/subsys/system/explorer/desktop/desktop.cpp index 6dba6017354..a02c60a312a 100644 --- a/reactos/subsys/system/explorer/desktop/desktop.cpp +++ b/reactos/subsys/system/explorer/desktop/desktop.cpp @@ -124,7 +124,7 @@ HWND DesktopWindow::Create() int width = GetSystemMetrics(SM_CXSCREEN); int height = GetSystemMetrics(SM_CYSCREEN); - HWND hwnd = Window::Create(WINDOW_CREATOR(DesktopWindow), + HWND hwndDesktop = Window::Create(WINDOW_CREATOR(DesktopWindow), WS_EX_TOOLWINDOW, wcDesktop, _T("Program Manager"), WS_POPUP|WS_VISIBLE|WS_CLIPCHILDREN, 0, 0, width, height, 0); @@ -133,9 +133,9 @@ HWND DesktopWindow::Create() // work around for Windows NT, Win 98, ... // Without this the desktop has mysteriously only a size of 800x600 pixels. - MoveWindow(hwnd, 0, 0, width, height, TRUE); + MoveWindow(hwndDesktop, 0, 0, width, height, TRUE); - return hwnd; + return hwndDesktop; }