comparison src/gui_w32.c @ 16827:ce562b9f702e v8.1.1415

patch 8.1.1415: build error in MS-Windows GUI commit https://github.com/vim/vim/commit/59edb00e2219d4eda34b32a5d405f245053c5b74 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 28 23:32:47 2019 +0200 patch 8.1.1415: build error in MS-Windows GUI Problem: Build error in MS-Windows GUI. Solution: Fix the LALLOC_MULT() argument.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 May 2019 23:45:05 +0200
parents ce04ebdf26b8
children 1d69e11db360
comparison
equal deleted inserted replaced
16826:aff339110438 16827:ce562b9f702e
6054 vim_free(padding); 6054 vim_free(padding);
6055 pad_size = Columns; 6055 pad_size = Columns;
6056 6056
6057 /* Don't give an out-of-memory message here, it would call us 6057 /* Don't give an out-of-memory message here, it would call us
6058 * recursively. */ 6058 * recursively. */
6059 padding = LALLOC_MULT(sizeof(int), pad_size); 6059 padding = LALLOC_MULT(int, pad_size);
6060 if (padding != NULL) 6060 if (padding != NULL)
6061 for (i = 0; i < pad_size; i++) 6061 for (i = 0; i < pad_size; i++)
6062 padding[i] = gui.char_width; 6062 padding[i] = gui.char_width;
6063 } 6063 }
6064 6064