* mu-cmd-view.c: fix showing of body

This commit is contained in:
Dirk-Jan C. Binnema 2010-09-10 20:37:58 +03:00
parent fd93663e8a
commit aa1c7e9831
1 changed files with 1 additions and 1 deletions

View File

@ -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 */