From bb7ed1f153a8cf28e4b9ef7670e4bfc05322987f Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 12 Nov 2009 10:22:55 -0800 Subject: [PATCH] notmuch show: Display "Subject: " before the subject. I think I was being uselessly terse when I dropped that. Put it back. --- notmuch-show.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/notmuch-show.c b/notmuch-show.c index 19787feb..41b33641 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -128,7 +128,7 @@ notmuch_show_command (void *ctx, unused (int argc), unused (char *argv[])) char *query_string; const char *headers[] = { - "From", "To", "Cc", "Bcc", "Date" + "Subject", "From", "To", "Cc", "Bcc", "Date" }; const char *name, *value; unsigned int i; @@ -167,8 +167,6 @@ notmuch_show_command (void *ctx, unused (int argc), unused (char *argv[])) printf ("%s\n", _get_one_line_summary (ctx, message)); - printf ("%s\n", notmuch_message_get_header (message, "subject")); - for (i = 0; i < ARRAY_SIZE (headers); i++) { name = headers[i]; value = notmuch_message_get_header (message, name); -- 2.26.2