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)
diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c
index fe8e7b4..1be1dae 100644
--- a/src/libvterm/src/state.c
+++ b/src/libvterm/src/state.c
@@ -1780,8 +1780,7 @@
}
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 fc9a1a0..9c1f6f1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 797,
+/**/
796,
/**/
795,