ULTIMA: Crash when no selected on quit dialog

This commit is contained in:
Dennis Payne 2020-03-23 22:50:42 -04:00 committed by Paul Gilbert
parent 77034aa487
commit b30bfb2db6

View File

@ -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;
}