Do not use implicit ncurses functions, now we can grep for 'stdscr' to find them.
[apps/madmutt.git] / flags.c
diff --git a/flags.c b/flags.c
index c767ac6..afadb4c 100644 (file)
--- a/flags.c
+++ b/flags.c
@@ -331,9 +331,9 @@ int mutt_change_flag(HEADER * h, int bf)
 
     int c;
 
-    mvprintw(LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
+    mvwprintw(stdscr, LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
              bf ? _("Set flag") : _("Clear flag"));
-    clrtoeol();
+    wclrtoeol(stdscr);
 
     c = mutt_getch().ch;
     if (c == -1) {