mirror of
https://github.com/vim/vim.git
synced 2025-11-13 22:54:27 -05:00
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
|
||||
* 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;
|
||||
|
||||
Reference in New Issue
Block a user