mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: erase_cell_range(): check if row->extra != NULL
This commit is contained in:
parent
53fc1a1cb1
commit
0be55ef74c
1 changed files with 2 additions and 1 deletions
|
|
@ -1781,7 +1781,8 @@ erase_cell_range(struct terminal *term, struct row *row, int start, int end)
|
|||
} else
|
||||
memset(&row->cells[start], 0, (end - start + 1) * sizeof(row->cells[0]));
|
||||
|
||||
grid_row_uri_range_erase(row, start, end);
|
||||
if (unlikely(row->extra != NULL))
|
||||
grid_row_uri_range_erase(row, start, end);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue