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

patch 8.1.1411: Coverity warns for divide by zero

Problem:    Coverity warns for divide by zero.
Solution:   Make sure width is larger than zero.
This commit is contained in:
Bram Moolenaar
2019-05-27 22:01:40 +02:00
parent 60cdb3004a
commit 7833dab73c
2 changed files with 7 additions and 4 deletions

View File

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