diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index a760691ad3..c3059d6b0b 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -5804,6 +5804,8 @@ store_aff_word ( // Get compound IDS from the affix list. get_compflags(affile, ae->ae_flags, use_pfxlist + use_pfxlen); + else + use_pfxlist[use_pfxlen] = NUL; // Combine the list of compound flags. // Concatenate them to the prefix IDs list. |