sixel: split_by_rectangle: bug: typo in boundary check

This commit is contained in:
Daniel Eklöf 2020-06-27 13:19:19 +02:00
parent 37ceb65729
commit 3715a37be9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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 */
)