0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

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++) { for( ; row < rows; row++) {
VTermLineInfo lineInfo = (VTermLineInfo){0}; VTermLineInfo lineInfo = {0};
lineInfo.doublewidth = 0;
newlineinfo[row] = lineInfo; newlineinfo[row] = lineInfo;
} }

View File

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