diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-12-22 20:24:56 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-12-22 20:24:56 +0000 |
commit | c561e53948bafca0ea69cf2d5e303ca2867e86b8 (patch) | |
tree | 5ab4074393da5272cf577a0ff3c415778df989cb /uisimulator/win32/uisw32.c | |
parent | 1707fd94fca56c938d510c25587f537834b7c52a (diff) |
Patch #863775 by Bluechip - fixes window size on win32 simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4173 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32/uisw32.c')
-rw-r--r-- | uisimulator/win32/uisw32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/win32/uisw32.c b/uisimulator/win32/uisw32.c index 70b290b69d..7ccec5f42c 100644 --- a/uisimulator/win32/uisw32.c +++ b/uisimulator/win32/uisw32.c @@ -247,8 +247,8 @@ BOOL GUIStartup () "RockBoxUISimulator", "ARCHOS JukeBox", WS_VISIBLE | WS_SYSMENU | WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, - UI_WIDTH + GetSystemMetrics (SM_CXSIZEFRAME) * 2, - UI_HEIGHT + GetSystemMetrics (SM_CYSIZEFRAME) * 2 + GetSystemMetrics (SM_CYSMCAPTION), + UI_WIDTH + GetSystemMetrics (SM_CXSIZEFRAME) * 2 +4, + UI_HEIGHT + GetSystemMetrics (SM_CYSIZEFRAME) * 2 + GetSystemMetrics (SM_CYSMCAPTION) +4, NULL, NULL, GetModuleHandle (NULL), NULL); if (hGUIWnd == NULL) |