Fix build.

This commit is contained in:
Nicholas Marriott
2021-10-07 13:59:08 +01:00
parent ebd2c58593
commit 6680a024be
3 changed files with 11 additions and 15 deletions

View File

@ -547,7 +547,7 @@ sixel_to_screen(struct sixel_image *si)
gc.attr |= (GRID_ATTR_CHARSET|GRID_ATTR_DIM);
utf8_set(&gc.data, '~');
screen_write_start(&ctx, NULL, s);
screen_write_start(&ctx, s);
if (sx == 1 || sy == 1) {
for (y = 0; y < sy; y++) {
for (x = 0; x < sx; x++)