#include "mutt.h"
#include "mutt_curses.h"
#include "sort.h"
+#include "thread.h"
#include "charset.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
+#include "mime.h"
#include "lib/str.h"
#include "lib/rx.h"
snprintf (dest, destlen, fmt,
(Tochars
&& ((i = mutt_user_is_recipient (hdr))) <
- safe_strlen (Tochars)) ? Tochars[i] : ' ');
+ str_len (Tochars)) ? Tochars[i] : ' ');
break;
case 'u':
ch = 'K';
snprintf (buf2, sizeof (buf2),
- "%c%c%c", (THREAD_NEW ? 'n' : (THREAD_OLD ? 'o' :
+ "%c%c%c%c", (THREAD_NEW ? 'n' : (THREAD_OLD ? 'o' :
((hdr->read
&& (ctx
&& ctx->msgnotreadyet !=
((i =
mutt_user_is_recipient
(hdr)) <
- safe_strlen (Tochars)) ?
- Tochars[i] : ' ')));
+ str_len (Tochars)) ?
+ Tochars[i] : ' ')),
+ (hdr->content && hdr->content->type == TYPEMULTIPART) ?
+ 'A' : ' ');
mutt_format_s (dest, destlen, prefix, buf2);
break;
&& (hdr->thread->parent && hdr->thread->parent->message
&& hdr->thread->parent->message->env->x_label))
htmp = hdr->thread->parent->message;
- if (htmp && safe_strcasecmp (hdr->env->x_label,
+ if (htmp && str_casecmp (hdr->env->x_label,
htmp->env->x_label) == 0)
i = 0;
}