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:
@@ -6056,7 +6056,7 @@ gui_mch_draw_string(
|
|||||||
|
|
||||||
/* Don't give an out-of-memory message here, it would call us
|
/* Don't give an out-of-memory message here, it would call us
|
||||||
* recursively. */
|
* recursively. */
|
||||||
padding = LALLOC_MULT(sizeof(int), pad_size);
|
padding = LALLOC_MULT(int, pad_size);
|
||||||
if (padding != NULL)
|
if (padding != NULL)
|
||||||
for (i = 0; i < pad_size; i++)
|
for (i = 0; i < pad_size; i++)
|
||||||
padding[i] = gui.char_width;
|
padding[i] = gui.char_width;
|
||||||
|
@@ -767,6 +767,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1415,
|
||||||
/**/
|
/**/
|
||||||
1414,
|
1414,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user