continue;
case MUTT_NOTMUCH:
case MUTT_NNTP:
- add_folder(menu, state, mailbox_path(np->mailbox),
- np->mailbox->name, NULL, np->mailbox, NULL);
+ add_folder(menu, state, mailbox_path(np->mailbox), np->mailbox->name,
+ NULL, np->mailbox, NULL);
continue;
default: /* Continue */
break;
struct Email *e = rd->email;
SET_COLOR(MT_COLOR_COMPOSE_HEADER);
- mutt_window_mvprintw(rd->win, HDR_CRYPT, 0, "%*s",
- HeaderPadding[HDR_CRYPT], _(Prompts[HDR_CRYPT]));
+ mutt_window_mvprintw(rd->win, HDR_CRYPT, 0, "%*s", HeaderPadding[HDR_CRYPT],
+ _(Prompts[HDR_CRYPT]));
NORMAL_COLOR;
if ((WithCrypto & (APPLICATION_PGP | APPLICATION_SMIME)) == 0)
char *t = NULL;
SET_COLOR(MT_COLOR_COMPOSE_HEADER);
- mutt_window_mvprintw(rd->win, HDR_MIX, 0, "%*s",
- HeaderPadding[HDR_MIX], _(Prompts[HDR_MIX]));
+ mutt_window_mvprintw(rd->win, HDR_MIX, 0, "%*s", HeaderPadding[HDR_MIX],
+ _(Prompts[HDR_MIX]));
NORMAL_COLOR;
if (STAILQ_EMPTY(chain))
draw_envelope_addr(HDR_REPLYTO, &e->env->reply_to, rd);
SET_COLOR(MT_COLOR_COMPOSE_HEADER);
- mutt_window_mvprintw(rd->win, HDR_FCC, 0, "%*s",
- HeaderPadding[HDR_FCC], _(Prompts[HDR_FCC]));
+ mutt_window_mvprintw(rd->win, HDR_FCC, 0, "%*s", HeaderPadding[HDR_FCC],
+ _(Prompts[HDR_FCC]));
NORMAL_COLOR;
mutt_paddstr(W, fcc);
if (ci->cmd_append || ci->cmd_close)
return true;
- mutt_error(_("Can't append without an append-hook or close-hook : %s"),
- mailbox_path(m));
+ mutt_error(_("Can't append without an append-hook or close-hook : %s"), mailbox_path(m));
return false;
}
while (true)
{
snprintf(path, sizeof(path), "%s/tmp/%s.%lld.R%" PRIu64 ".%s%s",
- mailbox_path(m), subdir, (long long) time(NULL),
- mutt_rand64(), NONULL(ShortHostname), suffix);
+ mailbox_path(m), subdir, (long long) time(NULL), mutt_rand64(),
+ NONULL(ShortHostname), suffix);
mutt_debug(LL_DEBUG2, "Trying %s\n", path);
}
/* copy mails to the trash before expunging */
- if (purge && (m->msg_deleted != 0) &&
- (mutt_str_strcmp(mailbox_path(m), C_Trash) != 0))
+ if (purge && (m->msg_deleted != 0) && (mutt_str_strcmp(mailbox_path(m), C_Trash) != 0))
{
if (trash_append(ctx->mailbox) != 0)
return -1;
msgcount = m->msg_count;
deleted = m->msg_deleted;
- if (purge && (m->msg_deleted != 0) &&
- (mutt_str_strcmp(mailbox_path(m), C_Trash) != 0))
+ if (purge && (m->msg_deleted != 0) && (mutt_str_strcmp(mailbox_path(m), C_Trash) != 0))
{
if (trash_append(m) != 0)
return -1;
/* check whether C_Folder is a prefix of the current folder's path */
bool maildir_is_prefix = false;
if ((mutt_buffer_len(m->pathbuf) > maildirlen) &&
- (mutt_str_strncmp(C_Folder, mailbox_path(m), maildirlen) == 0) && C_SidebarDelimChars &&
- strchr(C_SidebarDelimChars, mailbox_path(m)[maildirlen]))
+ (mutt_str_strncmp(C_Folder, mailbox_path(m), maildirlen) == 0) &&
+ C_SidebarDelimChars && strchr(C_SidebarDelimChars, mailbox_path(m)[maildirlen]))
{
maildir_is_prefix = true;
}