diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-07-26 20:58:42 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-07-26 20:58:42 +0000 |
commit | 6ee10162b24109d5b3a0558304c110ffc9dc25b7 (patch) | |
tree | 499b2caf889484c944c88eafc6a7c5f7c73838cb /src/syntax.c | |
parent | f621048b53fb2ac84608886102b1733d7a338708 (diff) | |
download | vim-git-6ee10162b24109d5b3a0558304c110ffc9dc25b7.tar.gz |
updated for version 7.1-040v7.1.040
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index ef962ef70..c47a6026d 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -8504,7 +8504,7 @@ highlight_exists(name) syn_id2name(id) int id; { - if (id <= 0 || id >= highlight_ga.ga_len) + if (id <= 0 || id > highlight_ga.ga_len) return (char_u *)""; return HL_TABLE()[id - 1].sg_name; } |