diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-12-09 10:30:44 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-12-09 10:30:44 +0000 |
commit | 32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614 (patch) | |
tree | 312984b2b972916fd10e1efc338d08e437d55b70 /image/mng.c | |
parent | 77a96712244ad4a8b4bde235aa051372a64a8789 (diff) | |
download | netsurf-32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614.tar.gz netsurf-32db7e04d0c3bd255b2e8aa7dbd7c2b884b35614.tar.bz2 |
[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
Diffstat (limited to 'image/mng.c')
-rw-r--r-- | image/mng.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |