0
0
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:
Bram Moolenaar
2019-04-27 22:45:00 +02:00
parent ad6dc49a75
commit dcaa54dded
2 changed files with 3 additions and 1 deletions

View File

@@ -1656,11 +1656,11 @@ static int on_resize(int rows, int cols, void *user)
} }
if(rows != state->rows) { if(rows != state->rows) {
int row;
VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo)); VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo));
if (newlineinfo == NULL) if (newlineinfo == NULL)
return 0; return 0;
int row;
for(row = 0; row < state->rows && row < rows; row++) { for(row = 0; row < state->rows && row < rows; row++) {
newlineinfo[row] = state->lineinfo[row]; newlineinfo[row] = state->lineinfo[row];
} }

View File

@@ -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 */
/**/
1222,
/**/ /**/
1221, 1221,
/**/ /**/