0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set

Problem:    Divide by zero when scrolling with 'smoothscroll' set.
Solution:   Avoid using a negative width. (closes #12540, closes #12528)
This commit is contained in:
fullwaywang
2023-06-24 21:58:09 +01:00
committed by Bram Moolenaar
parent c9a4a8ab28
commit 8154e642aa
4 changed files with 58 additions and 10 deletions

View File

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