From 1421ba504d58764b7801be72912a9afdddd18cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 7 Mar 2024 16:18:35 +0100 Subject: [PATCH] sixel: debug: fix logged width/height values when emitting sixel image.width and image.height are the scaled dimensions, and these haven't been set when the log message is printed. --- sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sixel.c b/sixel.c index 3e13af23..c1a1b18c 100644 --- a/sixel.c +++ b/sixel.c @@ -1162,7 +1162,7 @@ sixel_unhook(struct terminal *term) LOG_DBG("generating %s %dx%d pixman image at %d-%d", image.opaque ? "opaque" : "transparent", - image.width, image.height, + image.original.width, image.original.height, image.pos.row, image.pos.row + image.rows); image.original.pix = pixman_image_create_bits_no_clear(