From dfdb42138d4ab7b0328a0e3b189dbbb83daa0023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 6 Mar 2021 21:37:37 +0100 Subject: [PATCH] sixel: add: resize is already checking against the current max geometry --- sixel.c | 6 ------ 1 file changed, 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) {