]> granicus.if.org Git - vim/commitdiff
patch 8.1.1222: build still fails on MS-Windows v8.1.1222
authorBram Moolenaar <Bram@vim.org>
Sat, 27 Apr 2019 20:45:00 +0000 (22:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 27 Apr 2019 20:45:00 +0000 (22:45 +0200)
Problem:    Build still fails on MS-Windows.
Solution:   Move another declaration to start of block.

src/libvterm/src/state.c
src/version.c

index a08b005c259de8aefcaecf190b7f2267114ae227..b50e3667ad951de8f96b8f8f93894cce29623546 100644 (file)
@@ -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];
     }
index c65c541ac4ca1a785b3523f9e24d6d2a5c27d3a3..1bdcaaf0a39048040ff07187848a2f3b3df9534c 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1222,
 /**/
     1221,
 /**/