[vim] 93/139: patch 7.4.1776 Problem: Using wrong buffer length. Solution: use the right name. (Kazunobu Kuriyama)
James McCoy
jamessan at debian.org
Fri May 6 04:00:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit a1c487eef71d1673e57511453009de9cb4c9af51
Author: Bram Moolenaar <Bram at vim.org>
Date: Fri Apr 22 20:20:19 2016 +0200
patch 7.4.1776
Problem: Using wrong buffer length.
Solution: use the right name. (Kazunobu Kuriyama)
---
src/term.c | 2 +-
src/version.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/term.c b/src/term.c
index 29b48e9..059aed7 100644
--- a/src/term.c
+++ b/src/term.c
@@ -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);
}
diff --git a/src/version.c b/src/version.c
index 2d0abeb..1c35576 100644
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1776,
+/**/
1775,
/**/
1774,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list