mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
sixel: split_by_rectangle: bug: typo in boundary check
This commit is contained in:
parent
37ceb65729
commit
3715a37be9
1 changed files with 1 additions and 1 deletions
2
sixel.c
2
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 */
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue