Fixed infinite loop in Windows GUI when selecting File->Exit.
This commit is contained in:
parent
8cd767091a
commit
3d69f092c9
1 changed files with 1 additions and 1 deletions
|
|
@ -935,7 +935,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
pause=0;
|
||||
break;
|
||||
case IDM_FILE_EXIT:
|
||||
PostQuitMessage (0); /* send a WM_QUIT to the message queue */
|
||||
PostMessage(hwnd, WM_CLOSE, 0, 0);
|
||||
break;
|
||||
case IDM_DISC_A:
|
||||
if (!getfile(hwnd,"Disc image (*.IMG;*.IMA;*.FDI)\0*.IMG;*.IMA;*.FDI\0All files (*.*)\0*.*\0",discfns[0]))
|
||||
|
|
|
|||
Loading…
Reference in a new issue