From 057f0c4d24baea15cc60d2627b59964a0fa3a049 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 28 Feb 2011 11:31:50 +0100 Subject: Bug #643297 - multipart/related formatter skips the last part --- mail/em-format-html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/em-format-html.c') diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 15c3e5e2df..780a02a17a 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -2135,7 +2135,7 @@ emfh_multipart_related_check (struct _EMFormatHTMLJob *job, return; } - while (link->next != NULL) { + while (link != NULL) { EMFormatPURI *puri = link->data; if (puri->use_count == 0) { -- cgit v1.2.3