summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-06-06 14:20:26 +0200
committerBram Moolenaar <Bram@vim.org>2010-06-06 14:20:26 +0200
commit56be950094e10e68da1f901ba971c5f3e9821685 (patch)
tree9b77adba1105bac626534bfa85c5d72e187f53ac /src/syntax.c
parent860cae1cec85aeb06668a2b071727c43869acf15 (diff)
downloadvim-git-56be950094e10e68da1f901ba971c5f3e9821685.tar.gz
Fix a few compiler warnings. Fix crash with encrypted undo file.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index c19c5d964..370bc761b 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -235,7 +235,7 @@ static char_u **syn_cmdlinep;
/*
* Another Annoying Hack(TM): To prevent rules from other ":syn include"'d
- * files from from leaking into ALLBUT lists, we assign a unique ID to the
+ * files from leaking into ALLBUT lists, we assign a unique ID to the
* rules in each ":syn include"'d file.
*/
static int current_syn_inc_tag = 0;
@@ -4500,11 +4500,13 @@ get_syn_options(arg, opt, conceal_char)
}
else
#endif
+ {
#ifdef FEAT_CONCEAL
*conceal_char = arg[6];
#else
;
#endif
+ }
arg = skipwhite(arg + 7);
}
else