summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Russon <rich@flatcap.org>2023-10-10 02:42:16 +0100
committerRichard Russon <rich@flatcap.org>2023-10-10 09:57:41 +0100
commitfdc654efc37cf9f791c5ec578d8db5c56b51afd4 (patch)
tree4cd9cc5fb7398241ed3bcca50c89b739975d4ad3
parent80d374d4a6b46d216351bacc6cce8ae9d924f5b9 (diff)
fix header colour
`color header` should extend to the end of the line. (`color quoted` too) Remove a spurious `mutt_curses_set_color_by_id()` that was resetting the colour to normal.
-rw-r--r--pager/display.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pager/display.c b/pager/display.c
index 099030c59..d139f0e83 100644
--- a/pager/display.c
+++ b/pager/display.c
@@ -1302,10 +1302,6 @@ int display_line(FILE *fp, LOFF_T *bytes_read, struct Line **lines,
const enum ColorId cid = ((line_num % 2) == 0) ? MT_COLOR_STRIPE_ODD : MT_COLOR_STRIPE_EVEN;
mutt_curses_set_color_by_id(cid);
}
- else
- {
- mutt_curses_set_color_by_id(MT_COLOR_NORMAL);
- }
mutt_window_clrtoeol(win_pager);
}