aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-03-27 17:12:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-03-27 17:12:08 +0000
commit68c1a714cb84a31b69d9aa93982a07d13622ea63 (patch)
treeabdc7d6ea79869b087f968012d38723df9e7a6bb
parentfix indent (diff)
downloadw3m-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--ChangeLog7
-rw-r--r--w3mimg/x11/x11_w3mimg.c4
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 <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) {