ignore QUIT messages from the system during the quit dialog
fixes http://pulkomandy.tk/projects/GrafX2/ticket/116
This commit is contained in:
parent
cbc6b96639
commit
e3a923c2bc
@ -621,7 +621,8 @@ byte Button_Quit_local_function(void)
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
clicked_button=Window_clicked_button();
|
Quit_is_required = 0; // ignore other QUIT messages from the system
|
||||||
|
clicked_button = Window_clicked_button();
|
||||||
if (Is_shortcut(Key,0x100+BUTTON_HELP))
|
if (Is_shortcut(Key,0x100+BUTTON_HELP))
|
||||||
Window_help(BUTTON_QUIT, NULL);
|
Window_help(BUTTON_QUIT, NULL);
|
||||||
else if (Is_shortcut(Key,0x100+BUTTON_QUIT))
|
else if (Is_shortcut(Key,0x100+BUTTON_QUIT))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user