- some reformatting on exit code, mainly to make searching for the content easier.

This commit is contained in:
Christoph Oelckers 2019-10-01 19:06:28 +02:00
commit 86ab366958
25 changed files with 55 additions and 50 deletions

View file

@ -424,7 +424,7 @@ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
case WM_DESTROY:
SetPriorityClass (GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
//PostQuitMessage (0);
exit (0);
exit(0);
break;
case WM_HOTKEY:
@ -614,7 +614,7 @@ bool I_InitInput (void *hwnd)
HRESULT hr;
Printf ("I_InitInput\n");
atterm (I_ShutdownInput);
atterm(I_ShutdownInput);
noidle = !!Args->CheckParm ("-noidle");
g_pdi = NULL;
@ -740,7 +740,7 @@ void I_GetEvent ()
while (PeekMessage (&mess, NULL, 0, 0, PM_REMOVE))
{
if (mess.message == WM_QUIT)
exit (mess.wParam);
exit(mess.wParam);
if (GUICapture)
{