Skip to content

Commit a1c487e

Browse files
committed
patch 7.4.1776
Problem: Using wrong buffer length. Solution: use the right name. (Kazunobu Kuriyama)
1 parent 763b684 commit a1c487e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/term.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2804,7 +2804,7 @@ term_rgb_color(char_u *s, long_u rgb)
28042804
#define MAX_COLOR_STR_LEN 100
28052805
char buf[MAX_COLOR_STR_LEN];
28062806

2807-
vim_snprintf(buf, MAX_KEY_CODE_LEN,
2807+
vim_snprintf(buf, MAX_COLOR_STR_LEN,
28082808
(char *)s, RED(rgb), GREEN(rgb), BLUE(rgb));
28092809
OUT_STR(buf);
28102810
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,8 @@ static char *(features[]) =
753753

754754
static int included_patches[] =
755755
{ /* Add new patch number below this line */
756+
/**/
757+
1776,
756758
/**/
757759
1775,
758760
/**/

0 commit comments

Comments
 (0)