From: Richard Russon Date: Tue, 4 Sep 2018 18:11:47 +0000 (+0100) Subject: boolify X-Git-Tag: 2019-10-25~661^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c4a7babbf50849cd74b085e8feb7ff9b522ea8e;p=neomutt boolify --- diff --git a/compose.c b/compose.c index 10a085f05..c991c8c03 100644 --- a/compose.c +++ b/compose.c @@ -1374,7 +1374,7 @@ int mutt_compose_menu(struct Header *msg, char *fcc, size_t fcclen, { char *att = files[i]; new = mutt_mem_calloc(1, sizeof(struct AttachPtr)); - new->unowned = 1; + new->unowned = true; new->content = mutt_make_file_attach(att); if (new->content) update_idx(menu, actx, new); diff --git a/recvattach.c b/recvattach.c index f0767f0a0..283b42d1f 100644 --- a/recvattach.c +++ b/recvattach.c @@ -1124,7 +1124,7 @@ int mutt_attach_display_loop(struct Menu *menu, int op, struct Header *hdr, */ static void mutt_generate_recvattach_list(struct AttachCtx *actx, struct Header *hdr, struct Body *m, FILE *fp, - int parent_type, int level, int decrypted) + int parent_type, int level, bool decrypted) { struct AttachPtr *new = NULL; struct Body *new_body = NULL;