diff src/term.c @ 28660:a3bcb2a30572 v8.2.4854

patch 8.2.4854: array size does not match usage Commit: https://github.com/vim/vim/commit/2f7e00a8aeceaf1d682d9e797149c1c51654ff68 Author: Christian Brabandt <cb@256bit.org> Date: Mon May 2 00:06:51 2022 +0100 patch 8.2.4854: array size does not match usage Problem: Array size does not match usage. Solution: Make array size 3 instead of 4. (Christian Brabandt, closes https://github.com/vim/vim/issues/10336)
author Bram Moolenaar <Bram@vim.org>
date Mon, 02 May 2022 01:15:04 +0200
parents 3f4e1326a003
children 53c608c7ea9e
line wrap: on
line diff
--- a/src/term.c
+++ b/src/term.c
@@ -6760,7 +6760,7 @@ static int grey_ramp[] = {
     0x80, 0x8A, 0x94, 0x9E, 0xA8, 0xB2, 0xBC, 0xC6, 0xD0, 0xDA, 0xE4, 0xEE
 };
 
-static char_u ansi_table[16][4] = {
+static char_u ansi_table[16][3] = {
 //   R    G    B
   {  0,   0,   0}, // black
   {224,   0,   0}, // dark red