commit | 6669de1b235843968e88844ca6d3c8dec4b01a9e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Aug 21 20:33:47 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Aug 21 20:33:47 2022 +0100 |
tree | 2b56a9877d1e6215bb6f50660a3e9ee84fffc786 | |
parent | 8884916043a4d517ff1cf3afb8c8a424a8ef3610 [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index fe100c8..9e77abc 100644 --- a/src/version.c +++ b/src/version.c
@@ -732,6 +732,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 240, +/**/ 239, /**/ 238,