From 904e48a22be7e227a73c70e520cf9d8bc50fc1b2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 19 May 2020 10:33:02 +0200 Subject: [PATCH] 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 #6106) --- src/libvterm/src/state.c | 3 +-- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c index fe8e7b455..1be1dae85 100644 --- a/src/libvterm/src/state.c +++ b/src/libvterm/src/state.c @@ -1780,8 +1780,7 @@ static int on_resize(int rows, int cols, void *user) } for( ; row < rows; row++) { - VTermLineInfo lineInfo = (VTermLineInfo){0}; - lineInfo.doublewidth = 0; + VTermLineInfo lineInfo = {0}; newlineinfo[row] = lineInfo; } diff --git a/src/version.c b/src/version.c index fc9a1a02d..9c1f6f180 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 797, /**/ 796, /**/ -- 2.50.1