#include <lib-ui/lib-ui.h>
#include <lib-ui/menu.h>
#include <lib-mx/mx.h>
+#include <imap/imap.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)
{
if ((Sort & SORT_MASK) != SORT_THREADS) {
mutt_error _("Threading is not enabled.");
- return (-1);
+ return -1;
}
if (!subthread)
mutt_set_flag (Context, cur->message, flag, bf);
if ((cur = cur->child) == NULL)
- return (0);
+ return 0;
for (;;) {
if (cur->message)
while (!cur->next) {
cur = cur->parent;
if (cur == start)
- return (0);
+ return 0;
}
cur = cur->next;
}