Imagebox widget bug fix that could cause gwinImageOpenFile() to crash
This commit is contained in:
parent
5979acc7f6
commit
a9ead70e09
@ -33,6 +33,7 @@ FEATURE: Added vs1053 audio play driver
|
|||||||
FEATURE: Added GAUDIO wave-play demo
|
FEATURE: Added GAUDIO wave-play demo
|
||||||
FEATURE: Added many GWIN simple demo's and updated the combined widget demo
|
FEATURE: Added many GWIN simple demo's and updated the combined widget demo
|
||||||
FEATURE: Added gwinEnable() and gwinDisable()
|
FEATURE: Added gwinEnable() and gwinDisable()
|
||||||
|
FIX: Imagebox widget bugfix that could cause gwinImageOpenFile() to crash
|
||||||
|
|
||||||
|
|
||||||
*** changes after 1.9 ***
|
*** changes after 1.9 ***
|
||||||
|
@ -128,6 +128,7 @@ GHandle gwinGImageCreate(GDisplay *g, GImageObject *gobj, GWindowInit *pInit) {
|
|||||||
|
|
||||||
// Ensure the gdispImageIsOpen() gives valid results
|
// Ensure the gdispImageIsOpen() gives valid results
|
||||||
gobj->image.type = 0;
|
gobj->image.type = 0;
|
||||||
|
gobj->image.fns = 0;
|
||||||
|
|
||||||
// Initialise the timer
|
// Initialise the timer
|
||||||
#if GWIN_NEED_IMAGE_ANIMATION
|
#if GWIN_NEED_IMAGE_ANIMATION
|
||||||
|
Loading…
Reference in New Issue
Block a user