Oops! Fix object reference
This commit is contained in:
parent
0388755df1
commit
75e373c237
@ -21,7 +21,7 @@
|
|||||||
static void ImageDestroy(GWindowObject *gh) {
|
static void ImageDestroy(GWindowObject *gh) {
|
||||||
// Stop the timer
|
// Stop the timer
|
||||||
#if GWIN_NEED_IMAGE_ANIMATION
|
#if GWIN_NEED_IMAGE_ANIMATION
|
||||||
gtimerStop(&gobj->timer);
|
gtimerStop(&gw->timer);
|
||||||
#endif
|
#endif
|
||||||
if (gdispImageIsOpen(&gw->image))
|
if (gdispImageIsOpen(&gw->image))
|
||||||
gdispImageClose(&gw->image);
|
gdispImageClose(&gw->image);
|
||||||
|
Loading…
Reference in New Issue
Block a user