projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
further pop_mx_ng work
[apps/madmutt.git]
/
flags.c
diff --git
a/flags.c
b/flags.c
index
a893cc7
..
d25aca7
100644
(file)
--- a/
flags.c
+++ b/
flags.c
@@
-11,14
+11,12
@@
#include <lib-ui/lib-ui.h>
#include <lib-ui/menu.h>
#include <lib-ui/lib-ui.h>
#include <lib-ui/menu.h>
-#include <lib-ui/sidebar.h>
#include <lib-mx/mx.h>
#include <lib-mx/mx.h>
+#include <imap/imap.h>
#include "mutt.h"
#include "sort.h"
#include "mutt.h"
#include "sort.h"
-#include <imap/imap_private.h>
-
void _mutt_set_flag (CONTEXT * ctx, HEADER * h, int flag, int bf, int upd_ctx)
{
void _mutt_set_flag (CONTEXT * ctx, HEADER * h, int flag, int bf, int upd_ctx)
{
@@
-284,7
+282,7
@@
int mutt_thread_set_flag (HEADER * hdr, int flag, int bf, int subthread)
if ((Sort & SORT_MASK) != SORT_THREADS) {
mutt_error _("Threading is not enabled.");
if ((Sort & SORT_MASK) != SORT_THREADS) {
mutt_error _("Threading is not enabled.");
- return
(-1)
;
+ return
-1
;
}
if (!subthread)
}
if (!subthread)
@@
-296,7
+294,7
@@
int mutt_thread_set_flag (HEADER * hdr, int flag, int bf, int subthread)
mutt_set_flag (Context, cur->message, flag, bf);
if ((cur = cur->child) == NULL)
mutt_set_flag (Context, cur->message, flag, bf);
if ((cur = cur->child) == NULL)
- return
(0)
;
+ return
0
;
for (;;) {
if (cur->message)
for (;;) {
if (cur->message)
@@
-310,7
+308,7
@@
int mutt_thread_set_flag (HEADER * hdr, int flag, int bf, int subthread)
while (!cur->next) {
cur = cur->parent;
if (cur == start)
while (!cur->next) {
cur = cur->parent;
if (cur == start)
- return
(0)
;
+ return
0
;
}
cur = cur->next;
}
}
cur = cur->next;
}