summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/highlight.c10
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 4 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 44a7c6623d..a964acda8d 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -2819,10 +2819,12 @@ highlight_has_attr(
attr = HL_TABLE()[id - 1].sg_gui;
else
#endif
- if (modec == 'c')
- attr = HL_TABLE()[id - 1].sg_cterm;
- else
- attr = HL_TABLE()[id - 1].sg_term;
+ {
+ if (modec == 'c')
+ attr = HL_TABLE()[id - 1].sg_cterm;
+ else
+ attr = HL_TABLE()[id - 1].sg_term;
+ }
if (attr & flag)
return (char_u *)"1";
diff --git a/src/version.c b/src/version.c
index 2e076cbee1..2a3e08dc6d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3538,
+/**/
3537,
/**/
3536,