summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/imlib2_view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/imlib2_view.c b/src/bin/imlib2_view.c
index 84fb6f9..9e22fef 100644
--- a/src/bin/imlib2_view.c
+++ b/src/bin/imlib2_view.c
@@ -203,7 +203,7 @@ static void
anim_update(Imlib_Image im, const rect_t * up_in, rect_t * up_out, int flags)
{
static const rect_t r_zero = { };
- static rect_t r_prev = r_zero;
+ static rect_t r_prev = { };
static Imlib_Image im_prev = NULL;
Imlib_Image im_save = NULL;