]> git.notmuchmail.org Git - notmuch/blobdiff - show-message.c
test: new test-lib function to test for equality between files
[notmuch] / show-message.c
index 2ec9eca91d5095b8dd6409a98b743bc314c02a6b..fbae530180b99b95eb5ac4e788c63a2975043eff 100644 (file)
@@ -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)) {