aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/windialogs.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-09 15:19:40 +0000
committermarha <marha@users.sourceforge.net>2009-09-09 15:19:40 +0000
commite978fab10babba27885fe6b8a3f8dd72fecbc792 (patch)
tree755b19ad0256af3b44bf79c021c132288a396529 /xorg-server/hw/xwin/windialogs.c
parentce016335ab8ff2413bb82de6f74b2b96f746d07b (diff)
downloadvcxsrv-e978fab10babba27885fe6b8a3f8dd72fecbc792.tar.gz
vcxsrv-e978fab10babba27885fe6b8a3f8dd72fecbc792.tar.bz2
vcxsrv-e978fab10babba27885fe6b8a3f8dd72fecbc792.zip
Synchronised with released branch.
Diffstat (limited to 'xorg-server/hw/xwin/windialogs.c')
-rw-r--r--xorg-server/hw/xwin/windialogs.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/xorg-server/hw/xwin/windialogs.c b/xorg-server/hw/xwin/windialogs.c
index 94afcd989..75a2c7c65 100644
--- a/xorg-server/hw/xwin/windialogs.c
+++ b/xorg-server/hw/xwin/windialogs.c
@@ -194,7 +194,7 @@ winInitDialog (HWND hwndDlg)
HWND hwndDesk;
RECT rc, rcDlg, rcDesk;
HICON hIcon, hIconSmall;
-
+
hwndDesk = GetParent (hwndDlg);
if (!hwndDesk || IsIconic (hwndDesk))
hwndDesk = GetDesktopWindow ();
@@ -237,22 +237,23 @@ winInitDialog (HWND hwndDlg)
if (g_hIconX) hIcon=g_hIconX;
else
#endif
- hIcon = LoadIcon (g_hInstance, MAKEINTRESOURCE(IDI_XWIN));
+ hIcon = LoadIcon (g_hInstance, MAKEINTRESOURCE(IDI_XWIN));
#ifdef XWIN_MULTIWINDOW
if (g_hSmallIconX) hIconSmall=g_hSmallIconX;
else
#endif
- hIconSmall = LoadImage (g_hInstance,
- MAKEINTRESOURCE(IDI_XWIN), IMAGE_ICON,
- GetSystemMetrics(SM_CXSMICON),
- GetSystemMetrics(SM_CYSMICON),
- LR_SHARED);
+ hIconSmall = LoadImage (g_hInstance,
+ MAKEINTRESOURCE(IDI_XWIN), IMAGE_ICON,
+ GetSystemMetrics(SM_CXSMICON),
+ GetSystemMetrics(SM_CYSMICON),
+ LR_SHARED);
PostMessage (hwndDlg, WM_SETICON, ICON_BIG, (LPARAM) hIcon);
PostMessage (hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM) hIconSmall);
}
+
/*
* Display the Exit dialog box
*/