forked from aniani/vim
patch 8.2.1424: Mac build fails
Problem: Mac build fails.
Solution: Adjust configure to not fall back to Athena. Adjust some other
files.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user