LINES - 1 is the status bar, living on stdscr.
[apps/madmutt.git] / muttlib.c
index 338cb01..79fc2c5 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -350,7 +350,7 @@ int mutt_save_confirm (const char *s, struct stat *st)
     }
   }
 
-  CLEARLINE(main_w, LINES - 1);
+  CLEARLINE(stdscr, LINES - 1);
   return (ret);
 }