diff options
Diffstat (limited to 'w3mimg/fb')
-rw-r--r-- | w3mimg/fb/fb_gdkpixbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/w3mimg/fb/fb_gdkpixbuf.c b/w3mimg/fb/fb_gdkpixbuf.c index 3995e61..c779d90 100644 --- a/w3mimg/fb/fb_gdkpixbuf.c +++ b/w3mimg/fb/fb_gdkpixbuf.c @@ -1,4 +1,4 @@ -/* $Id: fb_gdkpixbuf.c,v 1.18 2004/08/05 18:22:15 ukai Exp $ */ +/* $Id: fb_gdkpixbuf.c,v 1.19 2004/08/16 16:56:40 ukai Exp $ */ /************************************************************************** fb_gdkpixbuf.c 0.3 Copyright (C) 2002, hito **************************************************************************/ @@ -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); |