mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
sixel: add: resize is already checking against the current max geometry
This commit is contained in:
parent
839b7dd32e
commit
dfdb42138d
1 changed files with 0 additions and 6 deletions
6
sixel.c
6
sixel.c
|
|
@ -917,12 +917,6 @@ sixel_add(struct terminal *term, uint32_t color, uint8_t sixel)
|
|||
{
|
||||
//LOG_DBG("adding sixel %02hhx using color 0x%06x", sixel, color);
|
||||
|
||||
if (term->sixel.pos.col >= term->sixel.max_width ||
|
||||
term->sixel.pos.row + 5 >= term->sixel.max_height)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (term->sixel.pos.col >= term->sixel.image.width ||
|
||||
term->sixel.pos.row >= term->sixel.image.height)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue