mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
sixel: fix assertion: image is allowed to cover the entire scrollback
This commit is contained in:
parent
2f01ecbadb
commit
9bd14c0fd2
1 changed files with 1 additions and 1 deletions
2
sixel.c
2
sixel.c
|
|
@ -799,7 +799,7 @@ sixel_unhook(struct terminal *term)
|
|||
.opaque = !term->sixel.transparent_bg,
|
||||
};
|
||||
|
||||
xassert(image.rows < term->grid->num_rows);
|
||||
xassert(image.rows <= term->grid->num_rows);
|
||||
xassert(image.pos.row + image.rows - 1 < term->grid->num_rows);
|
||||
|
||||
LOG_DBG("generating %dx%d pixman image at %d-%d",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue