]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1776 v7.4.1776
authorBram Moolenaar <Bram@vim.org>
Fri, 22 Apr 2016 18:20:19 +0000 (20:20 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 22 Apr 2016 18:20:19 +0000 (20:20 +0200)
Problem:    Using wrong buffer length.
Solution:   use the right name. (Kazunobu Kuriyama)

src/term.c
src/version.c

index 29b48e9002ad3c647a30f8fca1edf9fcb22eba6a..059aed729898d95d9f91425eb205e43ca0cc1085 100644 (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);
 }
index 2d0abebd6c30dfd7cf56c713db6ae835b7269fd4..1c35576b0997c70b95d96f061365b7a62ac079b9 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1776,
 /**/
     1775,
 /**/