patch 8.2.2510: internal error when popup with mask is zero height or width

Problem:    Internal error when popup with mask is zero height or width.
Solution:   Bail out if width or height is zero. (closes #7831)
This commit is contained in:
Bram Moolenaar
2021-02-13 21:31:18 +01:00
parent 8d4be89011
commit 10ccfb2a17
3 changed files with 26 additions and 1 deletions

View File

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