1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2023-01-26 14:14:43 +00:00
parent 142ed77898
commit 870219c58c
5 changed files with 44 additions and 0 deletions

View File

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