1
0
forked from aniani/vim

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 #10336)
This commit is contained in:
Christian Brabandt
2022-05-02 00:06:51 +01:00
committed by Bram Moolenaar
parent 056a1c2bdd
commit 2f7e00a8ae
2 changed files with 3 additions and 1 deletions

View File

@@ -6760,7 +6760,7 @@ static int grey_ramp[] = {
0x80, 0x8A, 0x94, 0x9E, 0xA8, 0xB2, 0xBC, 0xC6, 0xD0, 0xDA, 0xE4, 0xEE 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 // R G B
{ 0, 0, 0}, // black { 0, 0, 0}, // black
{224, 0, 0}, // dark red {224, 0, 0}, // dark red

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4854,
/**/ /**/
4853, 4853,
/**/ /**/