patch 7.4.1776
Problem:    Using wrong buffer length.
Solution:   use the right name. (Kazunobu Kuriyama)
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 @@
 #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 int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1776,
+/**/
     1775,
 /**/
     1774,