aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-03-07 15:18:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-07 15:18:35 +0000
commit1421ba504d58764b7801be72912a9afdddd18cb6 (patch)
treefac2627d4e2e9aafcaf97b0acf4c07edde98d9aa
parentsixel: performance improvements (diff)
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.
-rw-r--r--sixel.c2
1 files changed, 1 insertions, 1 deletions
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(