aboutsummaryrefslogtreecommitdiff
path: root/src/messageview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/messageview.c')
-rw-r--r--src/messageview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messageview.c b/src/messageview.c
index 4691d52f..707da43d 100644
--- a/src/messageview.c
+++ b/src/messageview.c
@@ -427,6 +427,8 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
if (messageview->msginfo != msginfo) {
procmsg_msginfo_free(messageview->msginfo);
messageview->msginfo = procmsg_msginfo_get_full_info(msginfo);
+ if (!messageview->msginfo)
+ messageview->msginfo = procmsg_msginfo_copy(msginfo);
}
headerview_show(messageview->headerview, messageview->msginfo);