ignore QUIT messages from the system during the quit dialog

fixes http://pulkomandy.tk/projects/GrafX2/ticket/116
This commit is contained in:
Thomas Bernard 2019-05-19 00:04:26 +02:00
parent cbc6b96639
commit e3a923c2bc

View File

@ -621,6 +621,7 @@ byte Button_Quit_local_function(void)
do
{
Quit_is_required = 0; // ignore other QUIT messages from the system
clicked_button = Window_clicked_button();
if (Is_shortcut(Key,0x100+BUTTON_HELP))
Window_help(BUTTON_QUIT, NULL);