mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1776
Problem: Using wrong buffer length. Solution: use the right name. (Kazunobu Kuriyama)
This commit is contained in:
@@ -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,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user