changeset 16435:65d5f7039131 v8.1.1222

patch 8.1.1222: build still fails on MS-Windows commit https://github.com/vim/vim/commit/dcaa54dded7c7ef9b2217a205d23301d313e96dc Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 27 22:45:00 2019 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 27 Apr 2019 23:00:04 +0200
parents dfbf27ca3129
children 23f52413c9c9
files src/libvterm/src/state.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/libvterm/src/state.c
+++ b/src/libvterm/src/state.c
@@ -1656,11 +1656,11 @@ static int on_resize(int rows, int cols,
   }
 
   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];
     }
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1222,
+/**/
     1221,
 /**/
     1220,