diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-03-27 17:12:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-03-27 17:12:08 +0000 |
commit | 68c1a714cb84a31b69d9aa93982a07d13622ea63 (patch) | |
tree | abdc7d6ea79869b087f968012d38723df9e7a6bb | |
parent | fix indent (diff) | |
download | w3m-68c1a714cb84a31b69d9aa93982a07d13622ea63.tar.gz w3m-68c1a714cb84a31b69d9aa93982a07d13622ea63.zip |
[w3m-dev 03834] Re: gif animation with no delay_time
* w3mimg/x11/x11_w3mimg.c (x11_load_image): fix delay check
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | w3mimg/x11/x11_w3mimg.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2003-03-28 ABE Yuji <cbo46560@pop12.odn.ne.jp> + + * [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 <cbo46560@pop12.odn.ne.jp> * [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 <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -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) { |