X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=show-message.c;h=fbae530180b99b95eb5ac4e788c63a2975043eff;hb=d92146d3a6809f8ad940302af49cd99a0820665e;hp=2ec9eca91d5095b8dd6409a98b743bc314c02a6b;hpb=b825bce61d24963f5b9c9c94d89e306640ac104b;p=notmuch diff --git a/show-message.c b/show-message.c index 2ec9eca9..fbae5301 100644 --- a/show-message.c +++ b/show-message.c @@ -46,10 +46,12 @@ show_message_part (GMimeObject *part, selected = (params->part <= 0 || state->part_count == params->part); if (selected || state->in_zone) { - if (!first && (params->part <= 0 || state->in_zone) && format->part_sep) + if (!first && (params->part <= 0 || state->in_zone)) fputs (format->part_sep, stdout); - format->part (part, &(state->part_count)); + if (format->part_start) + format->part_start (part, &(state->part_count)); + format->part_content (part); } if (GMIME_IS_MULTIPART (part)) {