notmuch show: Display "Subject: " before the subject.

I think I was being uselessly terse when I dropped that. Put it back.
This commit is contained in:
Carl Worth 2009-11-12 10:22:55 -08:00
parent 2f4c587474
commit bb7ed1f153

View file

@ -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);