1
0
forked from aniani/vim

patch 9.0.0240: crash when using ":mkspell" with an empty .dic file

Problem:    Crash when using ":mkspell" with an empty .dic file.
Solution:   Check for an empty word tree.
This commit is contained in:
Bram Moolenaar
2022-08-21 20:33:47 +01:00
parent 8884916043
commit 6669de1b23
3 changed files with 17 additions and 1 deletions

View File

@@ -731,6 +731,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
240,
/**/
239,
/**/