From 7480c1c06be0039e6b3bd019e6db9d118b964f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 14 Jul 2020 12:07:12 +0200 Subject: [PATCH] term: remove assert, as we're already checking for this in the loop condition --- terminal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/terminal.c b/terminal.c index fa1a13ba..150d5335 100644 --- a/terminal.c +++ b/terminal.c @@ -2419,7 +2419,6 @@ term_print(struct terminal *term, wchar_t wc, int width) /* Advance cursor the 'additional' columns while dirty:ing the cells */ for (int i = 1; i < width && term->grid->cursor.point.col < term->cols - 1; i++) { term->grid->cursor.point.col++; - assert(term->grid->cursor.point.col < term->cols); struct cell *cell = &row->cells[term->grid->cursor.point.col]; cell->wc = 0;