diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-27 22:45:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-27 22:45:00 +0200 |
commit | dcaa54dded7c7ef9b2217a205d23301d313e96dc (patch) | |
tree | 5bb371d0a019564c7de9dc4874ccf549e5d47b27 /src/libvterm | |
parent | ad6dc49a7564a99fca36c1928e3865787d3bd5b2 (diff) | |
download | vim-git-dcaa54dded7c7ef9b2217a205d23301d313e96dc.tar.gz |
patch 8.1.1222: build still fails on MS-Windowsv8.1.1222
Problem: Build still fails on MS-Windows.
Solution: Move another declaration to start of block.
Diffstat (limited to 'src/libvterm')
-rw-r--r-- | src/libvterm/src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c index a08b005c2..b50e3667a 100644 --- a/src/libvterm/src/state.c +++ b/src/libvterm/src/state.c @@ -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]; } |