forked from aniani/vim
Fix crash in generating spell .sug file.
This commit is contained in:
parent
700303e8f7
commit
dc781a79b4
@ -7557,6 +7557,7 @@ tree_add_word(spin, word, root, flags, region, affixID)
|
||||
np->wn_refs = node->wn_refs;
|
||||
node->wn_refs = 1;
|
||||
}
|
||||
if (prev != NULL)
|
||||
*prev = np;
|
||||
np->wn_sibling = node;
|
||||
node = np;
|
||||
|
Loading…
x
Reference in New Issue
Block a user