diff --git a/src/win/nact_win.cpp b/src/win/nact_win.cpp index 5cbe393..1b745c5 100644 --- a/src/win/nact_win.cpp +++ b/src/win/nact_win.cpp @@ -22,6 +22,8 @@ void init_menu() HINSTANCE hinst = (HINSTANCE)GetModuleHandle(NULL); HMENU hmenu = LoadMenu(hinst, MAKEINTRESOURCE(IDR_MENU1)); SetMenu(get_hwnd(g_window), hmenu); + // Let SDL recalc the window size, taking menu height into account. + SDL_SetWindowSize(g_window, 640, 400); } void init_console(int sys_ver)