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:
parent
37ebd42f16
commit
904e48a22b
@ -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;
|
||||
}
|
||||
|
||||
|
@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
797,
|
||||
/**/
|
||||
796,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user