diff options
author | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:35:17 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-04-22 20:35:17 +0300 |
commit | a37819dbb1d56d002726345b84febc576b80c9f4 (patch) | |
tree | de62e26e89fef55743f3caee85f68a596e6108e1 | |
parent | 953d167015c3346e36d8be0b181a07123af883ce (diff) | |
download | rneovim-a37819dbb1d56d002726345b84febc576b80c9f4.tar.gz rneovim-a37819dbb1d56d002726345b84febc576b80c9f4.tar.bz2 rneovim-a37819dbb1d56d002726345b84febc576b80c9f4.zip |
spellfile: Fix clint error
-rw-r--r-- | src/nvim/spellfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index 4e26bfa6f8..dab9a2aacd 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -2837,9 +2837,9 @@ static void process_compflags(spellinfo_T *spin, afffile_T *aff, char_u *compfla // the existing ID. Otherwise add a new entry. STRLCPY(key, prevp, p - prevp + 1); hi = hash_find(&aff->af_comp, key); - if (!HASHITEM_EMPTY(hi)) + if (!HASHITEM_EMPTY(hi)) { id = HI2CI(hi)->ci_newID; - else { + } else { ci = getroom(spin, sizeof(compitem_T), true); STRCPY(ci->ci_key, key); ci->ci_flag = flag; |