[evolution/wip/gsettings] Bug #643297 - multipart/related formatter skips the last part



commit 057f0c4d24baea15cc60d2627b59964a0fa3a049
Author: Milan Crha <mcrha redhat com>
Date:   Mon Feb 28 11:31:50 2011 +0100

    Bug #643297 - multipart/related formatter skips the last part

 mail/em-format-html.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 15c3e5e..780a02a 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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]