Move the rest of mutt "things" into a window as well.
[apps/madmutt.git] / flags.c
diff --git a/flags.c b/flags.c
index 9ef0f6d..aca2dcf 100644 (file)
--- a/flags.c
+++ b/flags.c
@@ -331,17 +331,17 @@ int mutt_change_flag(HEADER * h, int bf)
 
     int c;
 
-    mvwprintw(stdscr, LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
+    mvwprintw(main_w, LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
              bf ? _("Set flag") : _("Clear flag"));
-    wclrtoeol(stdscr);
+    wclrtoeol(main_w);
 
     c = mutt_getch().ch;
     if (c == -1) {
-        CLEARLINE (LINES - 1);
+        CLEARLINE(main_w, LINES - 1);
         return (-1);
     }
 
-    CLEARLINE (LINES - 1);
+    CLEARLINE(main_w, LINES - 1);
 
     if (c < 0 || c > countof(actions) || !actions[c]) {
         BEEP();