aboutsummaryrefslogtreecommitdiff
path: root/sixel.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-06 20:37:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-11 16:32:56 +0000
commitdfdb42138d4ab7b0328a0e3b189dbbb83daa0023 (patch)
treec59dc8c42dd2392bac18a4d36ee01104ef619f29 /sixel.c
parentsixel: resize: don’t resize beyond the current max geometry (diff)
sixel: add: resize is already checking against the current max geometry
Diffstat (limited to 'sixel.c')
-rw-r--r--sixel.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sixel.c b/sixel.c
index 498d18f2..6e7002d0 100644
--- a/sixel.c
+++ b/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)
{