aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-26 15:25:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-07 15:24:33 +0000
commitf5c574cd94796561a9138a30eae0cbe724033644 (patch)
treed2121ae94f27f52f22352f4a3d08c9ec4ff3ed1d
parentterm_fill(): change ‘character’ parameter from char -> uint8_t (diff)
csi: DECCRA: no need for a counter here
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 494ac957..b5d58f97 100644
--- a/csi.c
+++ b/csi.c
@@ -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)) {