summaryrefslogtreecommitdiffstats
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-12 00:24:28 +0000
committernicm <nicm>2017-01-12 00:24:28 +0000
commit0752fdaf6aaba298bdb7e4ba241d481c531c2b64 (patch)
treed86c089e5a3b47ea59b4e194877efc5ddb4c1ef6 /window.c
parent9e786030df1e68428fb2fdfa00a26c367ebb475c (diff)
Erm the aixterm colours should start at 8, not 7.
Diffstat (limited to 'window.c')
-rw-r--r--window.c2
1 files changed, 1 insertions, 1 deletions
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)