diff --git a/docs/releases.txt b/docs/releases.txt index 859c7edd..511208f9 100644 --- a/docs/releases.txt +++ b/docs/releases.txt @@ -33,6 +33,7 @@ FEATURE: Added vs1053 audio play driver FEATURE: Added GAUDIO wave-play demo FEATURE: Added many GWIN simple demo's and updated the combined widget demo FEATURE: Added gwinEnable() and gwinDisable() +FIX: Imagebox widget bugfix that could cause gwinImageOpenFile() to crash *** changes after 1.9 *** diff --git a/src/gwin/gimage.c b/src/gwin/gimage.c index fdc6df84..44ba785a 100644 --- a/src/gwin/gimage.c +++ b/src/gwin/gimage.c @@ -128,6 +128,7 @@ GHandle gwinGImageCreate(GDisplay *g, GImageObject *gobj, GWindowInit *pInit) { // Ensure the gdispImageIsOpen() gives valid results gobj->image.type = 0; + gobj->image.fns = 0; // Initialise the timer #if GWIN_NEED_IMAGE_ANIMATION