Skip to content

Commit 133da5f

Browse files
committed
WinAPI: Show maximized window
1 parent 2159fd9 commit 133da5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
4747
);
4848

4949
if (hwnd)
50-
ShowWindow(hwnd, nShowCmd);
50+
ShowWindow(hwnd, SW_SHOWMAXIMIZED);
5151
#ifndef NDEBUG
5252
spdlog::set_level(spdlog::level::debug);
5353
#endif

0 commit comments

Comments
 (0)