mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.1776
Problem: Using wrong buffer length. Solution: use the right name. (Kazunobu Kuriyama)
This commit is contained in:
parent
763b684373
commit
a1c487eef7
@ -2804,7 +2804,7 @@ term_rgb_color(char_u *s, long_u rgb)
|
||||
#define MAX_COLOR_STR_LEN 100
|
||||
char buf[MAX_COLOR_STR_LEN];
|
||||
|
||||
vim_snprintf(buf, MAX_KEY_CODE_LEN,
|
||||
vim_snprintf(buf, MAX_COLOR_STR_LEN,
|
||||
(char *)s, RED(rgb), GREEN(rgb), BLUE(rgb));
|
||||
OUT_STR(buf);
|
||||
}
|
||||
|
@ -753,6 +753,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1776,
|
||||
/**/
|
||||
1775,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user