summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-04 08:02:20 +0000
committernicm <nicm>2017-06-04 08:02:20 +0000
commit184039044a92b83f38b880b0a4a1c5ebc272af9c (patch)
treecb60ee35ca9904961de3d6b1029bba29ad2c33cd /tty.c
parent34420660545611af1b24060f55551ebe90d67a0c (diff)
Typo/style; plus man page escaping from jmc.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
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;