mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
rename local variable from hwnd to hwndDesktop
svn path=/trunk/; revision=6062
This commit is contained in:
parent
6ede4e5449
commit
d17de36214
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue