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