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 /w3mimg/x11/x11_w3mimg.c | |
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 'w3mimg/x11/x11_w3mimg.c')
-rw-r--r-- | w3mimg/x11/x11_w3mimg.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |