2012-08-12 [colin] 3.8.1cvs31
authorColin Leroy <colin@colino.net>
Sun, 12 Aug 2012 16:16:45 +0000 (16:16 +0000)
committerColin Leroy <colin@colino.net>
Sun, 12 Aug 2012 16:16:45 +0000 (16:16 +0000)
* src/messageview.c
Fix comparison, thanks to Michael Gmelin

ChangeLog
PATCHSETS
configure.ac
src/messageview.c

index 6665e42..cd2ed30 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-08-12 [colin]     3.8.1cvs31
+
+       * src/messageview.c
+               Fix comparison, thanks to Michael Gmelin
+
 2012-08-12 [colin]     3.8.1cvs30
 
        * src/messageview.c
index bda76be..10c08c2 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.59.2.90 -r 1.59.2.91 src/prefs_filtering.c;  ) > 3.8.1cvs28.patchset
 ( cvs diff -u -r 1.382.2.607 -r 1.382.2.608 src/compose.c;  ) > 3.8.1cvs29.patchset
 ( cvs diff -u -r 1.94.2.235 -r 1.94.2.236 src/messageview.c;  cvs diff -u -r 1.9.2.54 -r 1.9.2.55 src/common/ssl.c;  ) > 3.8.1cvs30.patchset
+( cvs diff -u -r 1.94.2.236 -r 1.94.2.237 src/messageview.c;  ) > 3.8.1cvs31.patchset
index cc824e7..8485d26 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=30
+EXTRA_VERSION=31
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 440c9db..fbf81bf 100644 (file)
@@ -1469,7 +1469,7 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
                                                goto done;
                                        } else if (mimeinfo->type == MIMETYPE_TEXT && 
                                            !strcasecmp(mimeinfo->subtype, "html") &&
-                                           mimeinfo->disposition == DISPOSITIONTYPE_ATTACHMENT &&
+                                           mimeinfo->disposition != DISPOSITIONTYPE_ATTACHMENT &&
                                            prefs_common.promote_html_part) {
                                                mimeview_select_mimepart_icon(messageview->mimeview, mimeinfo);
                                                goto done;