aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sixel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sixel.c b/sixel.c
index 0e8c58d5..910e4a5f 100644
--- a/sixel.c
+++ b/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",