From edca27ae45db7be104bc56a4e48e55cddc40acdb Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 21 Mar 2020 13:51:30 +0000 Subject: [PATCH] AIX colours are always stored as 90-97, not 100-107. From Johannes Altmanninger. --- grid.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/grid.c b/grid.c index 9e18a73d..29943e6b 100644 --- a/grid.c +++ b/grid.c @@ -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; } }