From e56136ce1192d04a52b01ccb41284f0b7896430e Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Sat, 16 Jan 2021 20:16:00 +0000 Subject: debug: rename assert() to xassert(), to avoid clashing with --- csi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'csi.c') diff --git a/csi.c b/csi.c index 9279345f..076723ae 100644 --- a/csi.c +++ b/csi.c @@ -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; -- cgit v1.3