mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
Fix crash in generating spell .sug file.
This commit is contained in:
@@ -7557,7 +7557,8 @@ tree_add_word(spin, word, root, flags, region, affixID)
|
||||
np->wn_refs = node->wn_refs;
|
||||
node->wn_refs = 1;
|
||||
}
|
||||
*prev = np;
|
||||
if (prev != NULL)
|
||||
*prev = np;
|
||||
np->wn_sibling = node;
|
||||
node = np;
|
||||
}
|
||||
|
Reference in New Issue
Block a user