commit | 156d3911952d73b03d7420dc3540215247db0fe8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 18 14:09:08 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 18 14:09:08 2022 +0100 |
tree | 49a05785c218ecab9cc97a621c8faf9e23d22267 | |
parent | 0e8e938d497260dd57be67b4966cb27a5f72376f [diff] [blame] |
patch 8.2.5123: using invalid index when looking for spell suggestions Problem: Using invalid index when looking for spell suggestions. Solution: Do not decrement the index when it is zero.
diff --git a/src/version.c b/src/version.c index 5411e1c..0a42274 100644 --- a/src/version.c +++ b/src/version.c
@@ -735,6 +735,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5123, +/**/ 5122, /**/ 5121,