csi: DECCRA: no need for a counter here

This commit is contained in:
Daniel Eklöf 2021-12-26 16:25:52 +01:00
parent 23908d9277
commit f5c574cd94
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
csi.c
View file

@ -1911,7 +1911,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
memcpy(cell, copy[r], cell_count * sizeof(copy[r][0]));
free(copy[r]);
for (int c = 0; c < cell_count; c++, cell++)
for (;cell < &row->cells[dst_left + cell_count]; cell++)
cell->attrs.clean = 0;
if (unlikely(row->extra != NULL)) {