diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-11 23:08:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-11 23:08:48 +0200 |
commit | 040f975fc1de14ada5e0a7324bb5e51e461be2dd (patch) | |
tree | 9d768b3c622d6806853b7d884792788dba36d1d7 /src/libvterm/src | |
parent | 035d6e91bd83574cab5a913c5c3a924d9011696b (diff) | |
download | vim-git-040f975fc1de14ada5e0a7324bb5e51e461be2dd.tar.gz |
patch 8.2.1424: Mac build failsv8.2.1424
Problem: Mac build fails.
Solution: Adjust configure to not fall back to Athena. Adjust some other
files.
Diffstat (limited to 'src/libvterm/src')
-rw-r--r-- | src/libvterm/src/state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libvterm/src/state.c b/src/libvterm/src/state.c index 4fe3d7d20..390aa8dce 100644 --- a/src/libvterm/src/state.c +++ b/src/libvterm/src/state.c @@ -133,7 +133,7 @@ static void scroll(VTermState *state, VTermRect rect, int downward, int rightwar if(rect.start_col == 0 && rect.end_col == state->cols && rightward == 0) { int height = rect.end_row - rect.start_row - abs(downward); int row; - VTermLineInfo zeroLineInfo = { 0 }; + VTermLineInfo zeroLineInfo = {0x0}; if(downward > 0) { memmove(state->lineinfo + rect.start_row, @@ -1813,7 +1813,7 @@ static int on_resize(int rows, int cols, void *user) } for( ; row < rows; row++) { - VTermLineInfo lineInfo = {0}; + VTermLineInfo lineInfo = {0x0}; newlineinfo[row] = lineInfo; } |