diff --git a/window.c b/window.c index cd4af43a..454b5a45 100644 --- a/window.c +++ b/window.c @@ -1530,7 +1530,7 @@ window_pane_get_palette(const struct window_pane *wp, int c) if (c < 8) new = wp->palette[c]; else if (c >= 90 && c <= 97) - new = wp->palette[7 + c - 90]; + new = wp->palette[8 + c - 90]; else if (c & COLOUR_FLAG_256) new = wp->palette[c & ~COLOUR_FLAG_256]; if (new == 0)