From 7566e37a461bf245bd2e54e1d522e919071e9c44 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 5 Dec 2019 08:51:24 +0000 Subject: [PATCH] Call sixel_scale with the right number of arguments. --- tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tty.c b/tty.c index afc224f6..e5e7e78a 100644 --- a/tty.c +++ b/tty.c @@ -1896,9 +1896,9 @@ tty_cmd_sixelimage(struct tty *tty, const struct tty_ctx *ctx) log_debug("%s: image is %ux%u", __func__, sx, sy); if (!tty_clamp_area(tty, ctx, cx, cy, sx, sy, &i, &j, &x, &y, &rx, &ry)) return; - log_debug("%s: clamping to section %u,%u-%u,%u", __func__, i, j, rx, ry); + log_debug("%s: clamping to %u,%u-%u,%u", __func__, i, j, rx, ry); - new = sixel_scale(si, tty->xpixel, tty->ypixel, i, j, rx, ry); + new = sixel_scale(si, tty->xpixel, tty->ypixel, i, j, rx, ry, 0); if (new == NULL) return;