Skip to content

Commit dcaa54d

Browse files
committed
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.
1 parent ad6dc49 commit dcaa54d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/libvterm/src/state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1656,11 +1656,11 @@ static int on_resize(int rows, int cols, void *user)
16561656
}
16571657

16581658
if(rows != state->rows) {
1659+
int row;
16591660
VTermLineInfo *newlineinfo = vterm_allocator_malloc(state->vt, rows * sizeof(VTermLineInfo));
16601661
if (newlineinfo == NULL)
16611662
return 0;
16621663

1663-
int row;
16641664
for(row = 0; row < state->rows && row < rows; row++) {
16651665
newlineinfo[row] = state->lineinfo[row];
16661666
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,8 @@ static char *(features[]) =
767767

768768
static int included_patches[] =
769769
{ /* Add new patch number below this line */
770+
/**/
771+
1222,
770772
/**/
771773
1221,
772774
/**/

0 commit comments

Comments
 (0)