diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-06 20:37:37 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-11 16:32:56 +0000 |
| commit | dfdb42138d4ab7b0328a0e3b189dbbb83daa0023 (patch) | |
| tree | c59dc8c42dd2392bac18a4d36ee01104ef619f29 /sixel.c | |
| parent | sixel: resize: don’t resize beyond the current max geometry (diff) | |
sixel: add: resize is already checking against the current max geometry
Diffstat (limited to 'sixel.c')
| -rw-r--r-- | sixel.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -917,12 +917,6 @@ sixel_add(struct terminal *term, uint32_t color, uint8_t sixel) { //LOG_DBG("adding sixel %02hhx using color 0x%06x", sixel, color); - if (term->sixel.pos.col >= term->sixel.max_width || - term->sixel.pos.row + 5 >= term->sixel.max_height) - { - return; - } - if (term->sixel.pos.col >= term->sixel.image.width || term->sixel.pos.row >= term->sixel.image.height) { |
