projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
proper parameter
[apps/madmutt.git]
/
flags.c
diff --git
a/flags.c
b/flags.c
index
c767ac6
..
aca2dcf
100644
(file)
--- a/
flags.c
+++ b/
flags.c
@@
-9,7
+9,7
@@
#include <lib-lib/lib-lib.h>
#include <lib-lib/lib-lib.h>
-#include <lib-ui/
curses
.h>
+#include <lib-ui/
lib-ui
.h>
#include <lib-ui/menu.h>
#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include <lib-ui/menu.h>
#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
@@
-331,17
+331,17
@@
int mutt_change_flag(HEADER * h, int bf)
int c;
int c;
- mv
printw(
LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
+ mv
wprintw(main_w,
LINES - 1, 0, "%s? (D/N/O/r/*/!): ",
bf ? _("Set flag") : _("Clear flag"));
bf ? _("Set flag") : _("Clear flag"));
-
clrtoeol(
);
+
wclrtoeol(main_w
);
c = mutt_getch().ch;
if (c == -1) {
c = mutt_getch().ch;
if (c == -1) {
- CLEARLINE
(
LINES - 1);
+ CLEARLINE
(main_w,
LINES - 1);
return (-1);
}
return (-1);
}
- CLEARLINE
(
LINES - 1);
+ CLEARLINE
(main_w,
LINES - 1);
if (c < 0 || c > countof(actions) || !actions[c]) {
BEEP();
if (c < 0 || c > countof(actions) || !actions[c]) {
BEEP();