summaryrefslogtreecommitdiff
path: root/image/mng.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/mng.c')
-rw-r--r--image/mng.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/image/mng.c b/image/mng.c
index 32e3a2f75..8d9769b70 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -712,8 +712,10 @@ static bool nsmng_redraw(struct content *c, struct content_redraw_data *data,
mng->bitmap, data->background_colour, flags);
/* Check if we need to restart the animation */
- if ((mng->waiting) && (option_animate_images))
+ if ((mng->waiting) &&
+ (nsoption_bool(animate_images))) {
nsmng_animate(c);
+ }
return ret;
}