aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2021-02-19 22:46:07 +0000
committerbptato <nincsnevem662@gmail.com>2021-02-19 22:48:52 +0000
commit081f42e35c793bc79e95628e15dbe9147637c45e (patch)
treea427842ca43f94ad82816a1876fabb517d1ea45f /image.c
parentFix potential segfault (diff)
downloadw3m-081f42e35c793bc79e95628e15dbe9147637c45e.tar.gz
w3m-081f42e35c793bc79e95628e15dbe9147637c45e.zip
Convert images to PNG for kitty with ImageMagick
Diffstat (limited to 'image.c')
-rw-r--r--image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.c b/image.c
index f25c895..a84d974 100644
--- a/image.c
+++ b/image.c
@@ -259,7 +259,7 @@ drawImage()
} else if (enable_inline_image == INLINE_IMG_ITERM2) {
put_image_iterm2(url, x, y, sw, sh);
} else if (enable_inline_image == INLINE_IMG_KITTY) {
- put_image_kitty(url, x, y, w, h, i->sx, i->sy, sw * pixel_per_char, sh * pixel_per_line_i, sw, sh);
+ put_image_kitty(url, x, y, i->width, i->height, i->sx, i->sy, sw * pixel_per_char, sh * pixel_per_line_i, sw, sh);
}
continue ;