changeset 12562:1c049248e9ca v8.0.1159

patch 8.0.1159: typo in #ifdef commit https://github.com/vim/vim/commit/d371bbe0ab4b07dd3aa8d0f77905d222f6c5fd7e Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 28 22:35:25 2017 +0200 patch 8.0.1159: typo in #ifdef Problem: Typo in #ifdef. Solution: Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes https://github.com/vim/vim/issues/2165)
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Sep 2017 22:45:04 +0200
parents 0fa54e30be58
children b76fe12e988b
files src/syntax.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -9786,7 +9786,7 @@ syn_id2colors(int hl_id, guicolor_T *fgp
 }
 #endif
 
-#if defined(FEAT_TERMINAL) || defined(PROT)
+#if defined(FEAT_TERMINAL) || defined(PROTO)
     void
 syn_id2cterm_bg(int hl_id, int *fgp, int *bgp)
 {
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1159,
+/**/
     1158,
 /**/
     1157,