summaryrefslogtreecommitdiff
path: root/src/libvterm
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-19 10:33:02 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-19 10:33:02 +0200
commit904e48a22be7e227a73c70e520cf9d8bc50fc1b2 (patch)
treed157f9b2b257e7b8000418eebcd87b5390da8725 /src/libvterm
parent37ebd42f16734838ab68be91da291c4ec8610f47 (diff)
downloadvim-git-904e48a22be7e227a73c70e520cf9d8bc50fc1b2.tar.gz
patch 8.2.0797: MS-Windows: compiler still can't handle C99 constructv8.2.0797
Problem: MS-Windows: compiler still can't handle C99 construct. Solution: Change to C90 construct. (Dominique Pelle, closes #6106)
Diffstat (limited to 'src/libvterm')
-rw-r--r--src/libvterm/src/state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c
index fe8e7b455..1be1dae85 100644
--- a/src/libvterm/src/state.c
+++ b/src/libvterm/src/state.c
@@ -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;
}