diff --git a/src/gui_athena.c b/src/gui_athena.c index 91026ea21a..9507e783a8 100644 --- a/src/gui_athena.c +++ b/src/gui_athena.c @@ -2309,7 +2309,7 @@ gui_mch_dialog(type, title, message, buttons, dfltbutton, textfield) XtPopup(dialogshell, XtGrabNonexclusive); - while (1) + for (;;) { XtAppNextEvent(app, &event); XtDispatchEvent(&event);