mirror of https://github.com/djcb/mu.git
* mu-cmd-view.c: fix showing of body
This commit is contained in:
parent
fd93663e8a
commit
aa1c7e9831
|
@ -62,7 +62,7 @@ view_file (const gchar *path, const gchar *fields, size_t summary_len)
|
|||
if (summary_len > 0) {
|
||||
field = mu_msg_get_summary (msg, summary_len);
|
||||
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);
|
||||
else
|
||||
/* not really an error */
|
||||
|
|
Loading…
Reference in New Issue