mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 01:31:25 +00:00
- don't exit from within a window proc.
This should be handled by the message pump evaluating WM_QUIT which is how Windows suggests this to be done.
This commit is contained in:
parent
c95a07d2c4
commit
5d265d2d88
1 changed files with 1 additions and 2 deletions
|
@ -423,8 +423,7 @@ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
case WM_DESTROY:
|
||||
SetPriorityClass (GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
|
||||
//PostQuitMessage (0);
|
||||
exit(0);
|
||||
PostQuitMessage (0);
|
||||
break;
|
||||
|
||||
case WM_HOTKEY:
|
||||
|
|
Loading…
Reference in a new issue