summaryrefslogtreecommitdiff
path: root/src/bin/imlib2_view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/imlib2_view.c')
-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;