1
0
forked from aniani/vim

patch 8.1.1415: build error in MS-Windows GUI

Problem:    Build error in MS-Windows GUI.
Solution:   Fix the LALLOC_MULT() argument.
This commit is contained in:
Bram Moolenaar
2019-05-28 23:32:47 +02:00
parent c799fe206e
commit 59edb00e22
2 changed files with 3 additions and 1 deletions

View File

@@ -6056,7 +6056,7 @@ gui_mch_draw_string(
/* Don't give an out-of-memory message here, it would call us
* recursively. */
padding = LALLOC_MULT(sizeof(int), pad_size);
padding = LALLOC_MULT(int, pad_size);
if (padding != NULL)
for (i = 0; i < pad_size; i++)
padding[i] = gui.char_width;

View File

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