From 75e373c237acfb938b4312d1666cda6708e96fba Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 26 Aug 2017 13:53:17 +1000 Subject: [PATCH] Oops! Fix object reference --- src/gwin/gwin_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gwin/gwin_image.c b/src/gwin/gwin_image.c index b1da7d52..855eecc9 100644 --- a/src/gwin/gwin_image.c +++ b/src/gwin/gwin_image.c @@ -21,7 +21,7 @@ static void ImageDestroy(GWindowObject *gh) { // Stop the timer #if GWIN_NEED_IMAGE_ANIMATION - gtimerStop(&gobj->timer); + gtimerStop(&gw->timer); #endif if (gdispImageIsOpen(&gw->image)) gdispImageClose(&gw->image);