grid: row_range_put(): use correct type in call to range_delete()

This commit is contained in:
Daniel Eklöf 2024-06-25 20:01:47 +02:00
parent 45f4eb48fb
commit cb4a74e10b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
grid.c
View file

@ -1417,7 +1417,7 @@ grid_row_range_put(struct row_ranges *ranges, int col,
if (ranges_match(r1, r2, type) && r1->end + 1 == r2->start) { if (ranges_match(r1, r2, type) && r1->end + 1 == r2->start) {
r1->end = r2->end; r1->end = r2->end;
range_delete(ranges, ROW_RANGE_URI, i); range_delete(ranges, type, i);
i--; i--;
} }
} }