mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-18 22:05:25 -05:00
term: remove assert, as we're already checking for this in the loop condition
This commit is contained in:
parent
b035469a7f
commit
7480c1c06b
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue