# HG changeset patch # User Bram Moolenaar # Date 1589877904 -7200 # Node ID 8ddcdb0d1074a17a05506336a93fac56bdd31b36 # Parent ffaeb617194e7baf243548f4e6b618c25f8956e3 patch 8.2.0797: MS-Windows: compiler still can't handle C99 construct Commit: https://github.com/vim/vim/commit/904e48a22be7e227a73c70e520cf9d8bc50fc1b2 Author: Bram Moolenaar 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) diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c --- 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; } diff --git a/src/version.c b/src/version.c --- 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,