[Commits] compose.c 1.382.2.608 1.382.2.609

colin at claws-mail.org colin at claws-mail.org
Sun Aug 12 19:20:37 CEST 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv1873/src

Modified Files:
      Tag: gtk2
	compose.c 
Log Message:
2012-08-12 [colin]	3.8.1cvs32

	* src/compose.c
		Exclude text/plain from the attachment thing

Index: compose.c
===================================================================
RCS file: /home/claws-mail/claws/src/compose.c,v
retrieving revision 1.382.2.608
retrieving revision 1.382.2.609
diff -u -d -r1.382.2.608 -r1.382.2.609
--- compose.c	12 Aug 2012 09:53:29 -0000	1.382.2.608
+++ compose.c	12 Aug 2012 17:20:34 -0000	1.382.2.609
@@ -6069,7 +6069,7 @@
 		    !g_ascii_strcasecmp(mimepart->subtype, "rfc822")) {
 			mimepart->disposition = DISPOSITIONTYPE_INLINE;
 		} else if (mimepart->type == MIMETYPE_TEXT) {
-			if (!ainfo->name) {
+			if (!ainfo->name && g_ascii_strcasecmp(mimepart->subtype, "plain")) {
 				/* Text parts with no name come from multipart/alternative
 				* forwards. Make sure the recipient won't look at the 
 				* original HTML part by mistake. */



More information about the Commits mailing list