projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8c702a3
)
Revert "Code review fix in ModestAttachmentsView."
author
Jose Dapena Paz
<jdapena@igalia.com>
Wed, 9 Sep 2009 13:54:53 +0000
(15:54 +0200)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Wed, 9 Sep 2009 13:54:53 +0000
(15:54 +0200)
This reverts commit
16c1a13ce46a9befd8fbe3d0fd63ce80c1a5cd97
.
src/widgets/modest-attachments-view.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-attachments-view.c
b/src/widgets/modest-attachments-view.c
index
e7d5a5c
..
8d498f3
100644
(file)
--- a/
src/widgets/modest-attachments-view.c
+++ b/
src/widgets/modest-attachments-view.c
@@
-159,7
+159,7
@@
modest_attachments_view_set_message (ModestAttachmentsView *attachments_view, Tn
part_to_check = modest_tny_msg_get_attachments_parent (TNY_MSG (msg));
msg_content_type = modest_tny_mime_part_get_content_type (TNY_MIME_PART (part_to_check));
- is_alternate = (msg_content_type != NULL) && !strcasecmp (msg_content_type, "multipart/alternative");
+ is_alternate = !strcasecmp (msg_content_type, "multipart/alternative");
/* If the top mime part is a multipart/related, we don't show the attachments, as they're
* embedded images in body */