mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.1-040
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user