Oops! Fix object reference

This commit is contained in:
inmarket 2017-08-26 13:53:17 +10:00
parent 0388755df1
commit 75e373c237

View File

@ -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);