mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
ULTIMA: Crash when no selected on quit dialog
This commit is contained in:
parent
77034aa487
commit
b30bfb2db6
@ -94,7 +94,7 @@ GUI_status GUI_YesNoDialog::callback(uint16 msg, GUI_CallBack *caller, void *dat
|
||||
return (GUI_status)yes_callback_object->callback(YESNODIALOG_CB_YES, nullptr);
|
||||
|
||||
if (caller == no_button)
|
||||
return (GUI_status)no_callback_object->callback(YESNODIALOG_CB_NO, nullptr);
|
||||
return (GUI_status)no_callback_object->callback(YESNODIALOG_CB_NO, nullptr, this);
|
||||
|
||||
return GUI_PASS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user