From 184039044a92b83f38b880b0a4a1c5ebc272af9c Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 4 Jun 2017 08:02:20 +0000 Subject: Typo/style; plus man page escaping from jmc. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index 7759e0ea..3d0e210b 100644 --- a/tty.c +++ b/tty.c @@ -1848,7 +1848,7 @@ tty_check_fg(struct tty *tty, const struct window_pane *wp, */ if (~gc->flags & GRID_FLAG_NOPALETTE) { c = gc->fg; - if (gc->fg < 8 && gc->attr & GRID_ATTR_BRIGHT) + if (c < 8 && gc->attr & GRID_ATTR_BRIGHT) c += 90; if ((c = window_pane_get_palette(wp, c)) != -1) gc->fg = c; -- cgit