1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar 2020-05-19 10:33:02 +02:00
parent 37ebd42f16
commit 904e48a22b
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
797,
/**/
796,
/**/