0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 9.0.1367: divide by zero in zero-width window

Problem:    Divide by zero in zero-width window.
Solution:   Check the width is positive.
This commit is contained in:
Bram Moolenaar
2023-03-01 17:55:31 +00:00
parent ad60898aa4
commit e0f8691969
3 changed files with 32 additions and 11 deletions

View File

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