aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 4d5dfd82d3..2668208bc9 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1538,16 +1538,16 @@ handle_multipart_related (CamelMimePart *part, const char *mime_type,
break;
}
}
-
- if (!display_part) {
- /* Oops. Hrmph. */
- return handle_multipart_mixed (part, mime_type, md);
- }
} else {
/* No start parameter, so it defaults to the first part. */
display_part = camel_multipart_get_part (mp, 0);
}
+ if (!display_part) {
+ /* Oops. Hrmph. */
+ return handle_multipart_mixed (part, mime_type, md);
+ }
+
/* Record the Content-IDs of any non-displayed parts. */
for (i = 0; i < nparts; i++) {
body_part = camel_multipart_get_part (mp, i);