summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/grid.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-03-21 13:51:31 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-03-21 13:51:31 +0000
commita5a1f15ebaca9eb21483ec46e5427358077be47c (patch)
tree86382edbe0c80a0e9ac31e8f67f082393812161a /usr.bin/tmux/grid.c
parentc5fa31994340c8bb7e779fe1a175ac4d0d262143 (diff)
AIX colours are always stored as 90-97, not 100-107. From Johannes
Altmanninger.
Diffstat (limited to 'usr.bin/tmux/grid.c')
-rw-r--r--usr.bin/tmux/grid.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c
index 5328795d7fe..63af07bf461 100644
--- a/usr.bin/tmux/grid.c
+++ b/usr.bin/tmux/grid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grid.c,v 1.102 2020/03/19 13:46:10 nicm Exp $ */
+/* $OpenBSD: grid.c,v 1.103 2020/03/21 13:51:30 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -758,15 +758,15 @@ grid_string_cells_bg(const struct grid_cell *gc, int *values)
case 8:
values[n++] = 49;
break;
- case 100:
- case 101:
- case 102:
- case 103:
- case 104:
- case 105:
- case 106:
- case 107:
- values[n++] = gc->bg - 10;
+ case 90:
+ case 91:
+ case 92:
+ case 93:
+ case 94:
+ case 95:
+ case 96:
+ case 97:
+ values[n++] = gc->bg + 10;
break;
}
}