Imagebox widget bug fix that could cause gwinImageOpenFile() to crash

ugfx_release_2.6
Joel Bodenmann 2014-05-09 10:39:10 +02:00
parent 5979acc7f6
commit a9ead70e09
2 changed files with 2 additions and 0 deletions

View File

@ -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 ***

View File

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