summaryrefslogtreecommitdiff
path: root/image/gif.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/gif.h')
-rw-r--r--image/gif.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/image/gif.h b/image/gif.h
index c7fa6f281..db5b4b442 100644
--- a/image/gif.h
+++ b/image/gif.h
@@ -14,7 +14,8 @@ struct content;
struct content_gif_data {
struct gif_animation *gif; /**< GIF animation data */
- unsigned int current_frame; /**< current frame to display [0...(max-1)] */
+ int current_frame; /**< current frame to display [0...(max-1)] */
+ bool frame_drawn; /**< set when current frame has been used */
};
bool nsgif_create(struct content *c, const char *params[]);