From 32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 9 Dec 2004 10:30:44 +0000 Subject: [project @ 2004-12-09 10:30:43 by rjw] Re-implementation of hotlist via general tree code. Animations can be stopped once more. Purged a few xcalloc() calls. svn path=/import/netsurf/; revision=1394 --- image/mng.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'image/mng.c') diff --git a/image/mng.c b/image/mng.c index 008e8363f..a223c7fff 100644 --- a/image/mng.c +++ b/image/mng.c @@ -19,6 +19,7 @@ #include "netsurf/utils/config.h" #include "netsurf/content/content.h" #include "netsurf/desktop/browser.h" +#include "netsurf/desktop/options.h" #include "netsurf/desktop/plotters.h" #include "netsurf/image/bitmap.h" #include "netsurf/image/mng.h" @@ -387,7 +388,8 @@ bool nsmng_redraw(struct content *c, int x, int y, /* Check if we need to restart the animation */ - if (c->data.mng.waiting) nsmng_animate(c); + if ((c->data.mng.waiting) && (option_animate_images)) + nsmng_animate(c); return ret; } -- cgit v1.2.3