diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-27 11:19:19 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-27 11:19:19 +0000 |
| commit | 3715a37be9078fb2ab755adfcfa010d687322333 (patch) | |
| tree | dd383ec8d0167e9fef37cc46729402285ab8d553 | |
| parent | sixel: split: make sure relative row/column values are bounded (diff) | |
sixel: split_by_rectangle: bug: typo in boundary check
| -rw-r--r-- | sixel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ ) |
