summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-04 19:35:02 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-04 19:35:02 +0200
commitc902609f69b5662484f78dbf509715940d4134e4 (patch)
treeb4e3468b0eb4cdaa2d53291718bf199e48b4dc61
parenta0a6f2776eabfbd4d9174fabdf3921beb7348eda (diff)
downloadvim-git-c902609f69b5662484f78dbf509715940d4134e4.tar.gz
patch 8.0.1175: build failure without +termresponsev8.0.1175
Problem: Build failure without +termresponse. Solution: Add #ifdef.
-rw-r--r--src/syntax.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index d7c482d54..8444db38c 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -7350,10 +7350,12 @@ lookup_color(int idx, int foreground, int *boldp)
else
color = color_numbers_8[idx];
}
+#ifdef FEAT_TERMRESPONSE
if (t_colors >= 256 && color == 15 && is_mac_terminal)
/* Terminal.app has a bug: 15 is light grey. Use white
* from the color cube instead. */
color = 231;
+#endif
}
return color;
}
diff --git a/src/version.c b/src/version.c
index 1d212777a..b31943fc0 100644
--- 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 */
/**/
+ 1175,
+/**/
1174,
/**/
1173,