sixel: oops

This commit is contained in:
Daniel Eklöf 2020-02-22 21:24:21 +01:00
parent 6e8c4149d2
commit 462229af70
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -190,9 +190,9 @@ sixel_add(struct terminal *term, uint32_t color, uint8_t sixel)
int height = max( int height = max(
term->sixel.image.height, term->sixel.image.height,
(term->sixel.pos.row + 1) * 6)) (term->sixel.pos.row + 1) * 6);
resize(term, width, height);; resize(term, width, height);
} }
for (int i = 0; i < 6; i++, sixel >>= 1) { for (int i = 0; i < 6; i++, sixel >>= 1) {