changeset 20486:8ddcdb0d1074 v8.2.0797

patch 8.2.0797: MS-Windows: compiler still can't handle C99 construct Commit: https://github.com/vim/vim/commit/904e48a22be7e227a73c70e520cf9d8bc50fc1b2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 19 10:33:02 2020 +0200 patch 8.2.0797: MS-Windows: compiler still can't handle C99 construct Problem: MS-Windows: compiler still can't handle C99 construct. Solution: Change to C90 construct. (Dominique Pelle, closes https://github.com/vim/vim/issues/6106)
author Bram Moolenaar <Bram@vim.org>
date Tue, 19 May 2020 10:45:04 +0200
parents ffaeb617194e
children f4ada29cdf4b
files src/libvterm/src/state.c src/version.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/libvterm/src/state.c
+++ b/src/libvterm/src/state.c
@@ -1780,8 +1780,7 @@ static int on_resize(int rows, int cols,
       }
 
       for( ; row < rows; row++) {
-	VTermLineInfo lineInfo = (VTermLineInfo){0};
-	lineInfo.doublewidth = 0;
+	VTermLineInfo lineInfo = {0};
 	newlineinfo[row] = lineInfo;
       }
 
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    797,
+/**/
     796,
 /**/
     795,