From 3715a37be9078fb2ab755adfcfa010d687322333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 27 Jun 2020 13:19:19 +0200 Subject: [PATCH] sixel: split_by_rectangle: bug: typo in boundary check --- sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sixel.c b/sixel.c index aaf5941e..2d04f742 100644 --- a/sixel.c +++ b/sixel.c @@ -296,7 +296,7 @@ sixel_split_by_rectangle(struct terminal *term, int _row, (start <= six_end && end >= six_end) || (start >= six_start || end <= six_end))) || (!six_wraps && wraps && - ((six_start <= start && six_end >= end) || /* Sixel croses region start boundary */ + ((six_start <= start && six_end >= start) || /* Sixel croses region start boundary */ (six_start <= end && six_end >= end) || /* Sixel crosses region end boundary */ (six_start >= start || six_end <= end))) /* Sixel is fully enclosed by region */ )