commit | 870219c58c0804bdc55419b2e455c06ac715a835 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 26 14:14:43 2023 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 26 14:14:43 2023 +0000 |
tree | f259e239be4a2a0e34d466c6446741d7f2d66844 | |
parent | 142ed77898facf8f423fee2717efee1749c55f9a [diff] [blame] |
patch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window Problem: Divide by zero with 'smoothscroll' set and a narrow window. Solution: Bail out when the window is too narrow.
diff --git a/src/version.c b/src/version.c index 12f444a..79f021b 100644 --- a/src/version.c +++ b/src/version.c
@@ -696,6 +696,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1247, +/**/ 1246, /**/ 1245,