mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 12:40:34 +00:00
Fixed a bug where the 'Yes' button wasn't recognized as the killer of the window.
This commit is contained in:
parent
252846d720
commit
63be8aed8a
@ -156,7 +156,7 @@ static void show_dialog(void)
|
||||
jmanager_remove_timer(timer_to_accept);
|
||||
|
||||
if (jwindow_get_killer(alert_window) != NULL &&
|
||||
ustrcmp(jwidget_get_text(jwindow_get_killer(alert_window)), "&OK") == 0) {
|
||||
ustrcmp(jwidget_get_name(jwindow_get_killer(alert_window)), "button-1") == 0) {
|
||||
/* do nothing */
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user