diff src/libvterm/src/state.c @ 21749:e86237409bd2 v8.2.1424

patch 8.2.1424: Mac build fails Commit: https://github.com/vim/vim/commit/040f975fc1de14ada5e0a7324bb5e51e461be2dd Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 11 23:08:48 2020 +0200 patch 8.2.1424: Mac build fails Problem: Mac build fails. Solution: Adjust configure to not fall back to Athena. Adjust some other files.
author Bram Moolenaar <Bram@vim.org>
date Tue, 11 Aug 2020 23:15:04 +0200
parents f5206c704403
children 57c71d51e937
line wrap: on
line diff
--- a/src/libvterm/src/state.c
+++ b/src/libvterm/src/state.c
@@ -133,7 +133,7 @@ static void scroll(VTermState *state, VT
   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,
       }
 
       for( ; row < rows; row++) {
-	VTermLineInfo lineInfo = {0};
+	VTermLineInfo lineInfo = {0x0};
 	newlineinfo[row] = lineInfo;
       }