Fixed a bug where the 'Yes' button wasn't recognized as the killer of the window.

This commit is contained in:
David Capello 2008-02-08 14:00:52 +00:00
parent 252846d720
commit 63be8aed8a

View File

@ -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 {