Useless CLEARLINE(stdscr, LINES - 1)
[apps/madmutt.git] / flags.c
diff --git a/flags.c b/flags.c
index 137c789..7aa65d4 100644 (file)
--- a/flags.c
+++ b/flags.c
@@ -334,15 +334,12 @@ int mutt_change_flag(HEADER * h, int bf)
     mvwprintw(stdscr, LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
              bf ? _("Set flag") : _("Clear flag"));
     wclrtoeol(stdscr);
-
     c = mutt_getch().ch;
+    CLEARLINE(stdscr, LINES - 1);
     if (c == -1) {
-        CLEARLINE(stdscr, LINES - 1);
         return (-1);
     }
 
-    CLEARLINE(stdscr, LINES - 1);
-
     if (c < 0 || c > countof(actions) || !actions[c]) {
         BEEP();
         return -1;