diff options
author | Christian Brabandt <cb@256bit.org> | 2022-05-02 00:06:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-02 00:06:51 +0100 |
commit | 2f7e00a8aeceaf1d682d9e797149c1c51654ff68 (patch) | |
tree | aee8c6b8ab6765f5d2105ac3e0268c5658039d40 | |
parent | 056a1c2bdda526c31c42cc1b7752073981642940 (diff) | |
download | vim-git-2f7e00a8aeceaf1d682d9e797149c1c51654ff68.tar.gz |
patch 8.2.4854: array size does not match usagev8.2.4854
Problem: Array size does not match usage.
Solution: Make array size 3 instead of 4. (Christian Brabandt, closes #10336)
-rw-r--r-- | src/term.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 769105e4c..4044d751a 100644 --- 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 diff --git a/src/version.c b/src/version.c index de2ca4e36..94c3470d8 100644 --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4854, +/**/ 4853, /**/ 4852, |