From 68c1a714cb84a31b69d9aa93982a07d13622ea63 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 27 Mar 2003 17:12:08 +0000 Subject: [w3m-dev 03834] Re: gif animation with no delay_time * w3mimg/x11/x11_w3mimg.c (x11_load_image): fix delay check From: ABE Yuji --- ChangeLog | 7 ++++++- w3mimg/x11/x11_w3mimg.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4205b57..82179e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-28 ABE Yuji + + * [w3m-dev 03834] Re: gif animation with no delay_time + * w3mimg/x11/x11_w3mimg.c (x11_load_image): fix delay check + 2003-03-27 ABE Yuji * [w3m-dev 03833] gif animation with no delay_time @@ -7605,4 +7610,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.804 2003/03/26 15:34:12 ukai Exp $ +$Id: ChangeLog,v 1.805 2003/03/27 17:12:08 ukai Exp $ diff --git a/w3mimg/x11/x11_w3mimg.c b/w3mimg/x11/x11_w3mimg.c index 910e8d1..8f98f7b 100644 --- a/w3mimg/x11/x11_w3mimg.c +++ b/w3mimg/x11/x11_w3mimg.c @@ -1,4 +1,4 @@ -/* $Id: x11_w3mimg.c,v 1.17 2003/03/26 15:35:20 ukai Exp $ */ +/* $Id: x11_w3mimg.c,v 1.18 2003/03/27 17:12:10 ukai Exp $ */ #include #include #include @@ -366,7 +366,7 @@ x11_load_image(w3mimg_op * self, W3MImage * img, char *fname, int w, int h) width = gdk_pixbuf_get_width(pixbuf); height = gdk_pixbuf_get_height(pixbuf); - if (delay >= 0) + if (delay > ximg->delay) ximg->delay = delay; if (i > 0) { -- cgit v1.2.3