X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_lib.c;h=002c063b70a8164a654e3335fba1b9b0ab6fa679;hp=4203b0ee7a5d2686943e893c6fd19bcfc5f07768;hb=eed5352e46df93f8921d2e6dfdc95b027bad6e1e;hpb=2ea77d3b2827ba23feb756ce2fb936565ae38998 diff --git a/curs_lib.c b/curs_lib.c index 4203b0e..002c063 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -209,7 +209,7 @@ int mutt_yesorno (const char *msg, int def) printw ("%.*s%s", COLS - answer_string_len, msg, answer_string); p_delete(&answer_string); - FOREVER { + for (;;) { mutt_refresh (); ch = mutt_getch (); if (CI_is_return (ch.ch)) @@ -530,7 +530,7 @@ int mutt_multi_choice (char *prompt, char *letters) mvaddstr (LINES - 1, 0, prompt); clrtoeol (); - FOREVER { + for (;;) { mutt_refresh (); ch = mutt_getch (); if (ch.ch == -1 || CI_is_return (ch.ch)) {