debug: rename assert() to xassert(), to avoid clashing with <assert.h>

This commit is contained in:
Craig Barnes 2021-01-16 20:16:00 +00:00
parent 22f25a9e4f
commit e56136ce11
31 changed files with 387 additions and 388 deletions

4
csi.c
View file

@ -1083,7 +1083,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
}
}
assert(new_col >= term->grid->cursor.point.col);
xassert(new_col >= term->grid->cursor.point.col);
term_cursor_right(term, new_col - term->grid->cursor.point.col);
}
break;
@ -1099,7 +1099,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
}
}
assert(term->grid->cursor.point.col >= new_col);
xassert(term->grid->cursor.point.col >= new_col);
term_cursor_left(term, term->grid->cursor.point.col - new_col);
}
break;