Skip to content

Commit

Permalink
Windows: Fix window style
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltafire committed Mar 12, 2017
1 parent 154b938 commit f323fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tracker/win32/Win32_main.cpp
Expand Up @@ -1130,10 +1130,10 @@ static BOOL AppInit(HINSTANCE hinst,int nCmdShow)
g_hinst,
0);
#else
AdjustWindowRect(&rect, WS_SYSMENU/*|WS_MAXIMIZEBOX*/|WS_MINIMIZEBOX, false);
AdjustWindowRect(&rect, WS_OVERLAPPEDWINDOW, false);
hWnd = CreateWindow(c_szClassName,
WINDOWTITLE,
WS_SYSMENU/*|WS_MAXIMIZEBOX*/|WS_MINIMIZEBOX,CW_USEDEFAULT,CW_USEDEFAULT,
WS_OVERLAPPEDWINDOW,CW_USEDEFAULT,CW_USEDEFAULT,
rect.right - rect.left, rect.bottom - rect.top,
NULL,
NULL,
Expand Down

0 comments on commit f323fb3

Please sign in to comment.