aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb/fb_w3mimg.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-04-03 16:35:42 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-04-03 16:35:42 +0000
commitfdb83cd002398c14b270fa15be279e39fa6ac2f4 (patch)
tree40eacda023682b54e8551d1b9e2ebd811d5fbe55 /w3mimg/fb/fb_w3mimg.c
parent';' is quoted in keymap.default (diff)
downloadw3m-fdb83cd002398c14b270fa15be279e39fa6ac2f4.tar.gz
w3m-fdb83cd002398c14b270fa15be279e39fa6ac2f4.zip
[w3m-dev 03837] Re: gif animation with no delay_time
* w3mimg/fb/fb_gdkpixbuf.c (get_animation_size): add delay check delay_time (get_image_size): no need delay time (fb_image_load): check delay (draw): no bg * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): delete delay skip loop * w3mimg/x11/x11_w3mimg.c (get_animation_size): add delay check delay_time (x11_load_image): check delay (x11_get_image_size): no need delay time From: Hiroyuki Ito <hito@crl.go.jp>
Diffstat (limited to '')
-rw-r--r--w3mimg/fb/fb_w3mimg.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/w3mimg/fb/fb_w3mimg.c b/w3mimg/fb/fb_w3mimg.c
index d6c4cfa..5c8fe4c 100644
--- a/w3mimg/fb/fb_w3mimg.c
+++ b/w3mimg/fb/fb_w3mimg.c
@@ -1,4 +1,4 @@
-/* $Id: fb_w3mimg.c,v 1.10 2003/03/26 15:34:19 ukai Exp $ */
+/* $Id: fb_w3mimg.c,v 1.11 2003/04/03 16:35:48 ukai Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@@ -92,10 +92,6 @@ w3mfb_show_image(w3mimg_op * self, W3MImage * img, int sx, int sy,
frame = (FB_IMAGE **) img->pixmap;
i = frame[0]->id;
- while (i < frame[0]->num - 1 && frame[i]->delay <= 0) {
- frame[0]->id += 1;
- i = frame[0]->id;
- }
fb_image_draw(frame[i],
x + self->offset_x, y + self->offset_y,
sx, sy, (sw ? sw : img->width), (sh ? sh : img->height));