w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit bcbbc43b4804e1e74238c7cb48a1420d89e55646
parent ecc95859a032c88c72a29cf4fd89720ebdcd7be4
Author: ukai <ukai>
Date:   Mon, 16 Aug 2004 16:56:39 +0000

[w3m-dev 04099] Re: w3m-img gtk2
* w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix resize bug
From: Hiroyuki Ito <ZXB01226@nifty.com>

Diffstat:
MChangeLog | 5+++++
Mw3mimg/fb/fb_gdkpixbuf.c | 4++--
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2004-08-17 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04099] Re: w3m-img gtk2 + * w3mimg/fb/fb_gdkpixbuf.c (fb_image_load): fix resize bug + 2004-08-06 Hiroyuki Ito <ZXB01226@nifty.com> * [w3m-dev 04097] Re: w3m-img gtk2 diff --git a/w3mimg/fb/fb_gdkpixbuf.c b/w3mimg/fb/fb_gdkpixbuf.c @@ -183,11 +183,11 @@ fb_image_load(char *filename, int w, int h, int max_anim) GdkPixbuf *org_pixbuf, *pixbuf; org_pixbuf = gdk_pixbuf_animation_iter_get_pixbuf(iter); - pixbuf = resize_image(org_pixbuf, fw, fh); + pixbuf = resize_image(org_pixbuf, w, h); fb_frame[j]->delay = gdk_pixbuf_animation_iter_get_delay_time(iter); g_time_val_add(&time, fb_frame[j]->delay * 1000); - draw(fb_frame[j], 0, 0, fw, fh, pixbuf); + draw(fb_frame[j], 0, 0, w, h, pixbuf); if (org_pixbuf != pixbuf) g_object_unref(G_OBJECT(pixbuf)); gdk_pixbuf_animation_iter_advance(iter, &time);