* mu-cmd-view.c: fix showing of body
This commit is contained in:
@ -62,7 +62,7 @@ view_file (const gchar *path, const gchar *fields, size_t summary_len)
|
|||||||
if (summary_len > 0) {
|
if (summary_len > 0) {
|
||||||
field = mu_msg_get_summary (msg, summary_len);
|
field = mu_msg_get_summary (msg, summary_len);
|
||||||
g_print ("Summary: %s\n", field ? field : "<none>");
|
g_print ("Summary: %s\n", field ? field : "<none>");
|
||||||
} else if ((mu_msg_get_body_text (msg)))
|
} else if ((field = mu_msg_get_body_text (msg)))
|
||||||
g_print ("\n%s\n", field);
|
g_print ("\n%s\n", field);
|
||||||
else
|
else
|
||||||
/* not really an error */
|
/* not really an error */
|
||||||
|
|||||||
Reference in New Issue
Block a user