mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.1222: build still fails on MS-Windows
Problem: Build still fails on MS-Windows. Solution: Move another declaration to start of block.
This commit is contained in:
@@ -1656,11 +1656,11 @@ static int on_resize(int rows, int cols, void *user)
|
||||
}
|
||||
|
||||
if(rows != state->rows) {
|
||||
int row;
|
||||
VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo));
|
||||
if (newlineinfo == NULL)
|
||||
return 0;
|
||||
|
||||
int row;
|
||||
for(row = 0; row < state->rows && row < rows; row++) {
|
||||
newlineinfo[row] = state->lineinfo[row];
|
||||
}
|
||||
|
@@ -767,6 +767,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1222,
|
||||
/**/
|
||||
1221,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user