0
0
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:
Bram Moolenaar 2016-04-22 20:20:19 +02:00
parent 763b684373
commit a1c487eef7
2 changed files with 3 additions and 1 deletions

View File

@ -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);
}

View File

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