|
@@ -194,7 +194,7 @@ int ui_browser__warning(struct ui_browser *browser, int timeout,
|
|
|
ui_helpline__vpush(format, args);
|
|
|
va_end(args);
|
|
|
} else {
|
|
|
- while ((key == ui__question_window("Warning!", text,
|
|
|
+ while ((key = ui__question_window("Warning!", text,
|
|
|
"Press any key...",
|
|
|
timeout)) == K_RESIZE)
|
|
|
ui_browser__handle_resize(browser);
|