zhw7238 Posted May 9, 2014 Report Share Posted May 9, 2014 same as i reported for progressbar.c; the gwinGImageCreate need add red line , otherwise in gwinImageOpenFile may crashed.ENV: MCU=STM32F103VT IDE =IAR 6.6GHandle gwinGImageCreate(GDisplay *g, GImageObject *gobj, GWindowInit *pInit) { if (!(gobj = (GImageObject *)_gwindowCreate(g, &gobj->g, pInit, &imageVMT, 0))) return 0; // Ensure the gdispImageIsOpen() gives valid results gobj->image.type = 0; gobj->image.fns = 0;//add for fix this bug // Initialise the timer #if GWIN_NEED_IMAGE_ANIMATION gtimerInit(&gobj->timer); #endif gwinSetVisible((GHandle)gobj, pInit->show); return (GHandle)gobj;} Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted May 9, 2014 Report Share Posted May 9, 2014 Thank you very much for another great bug report & patch. It has already been commited.I added your name to the contributions table. If you want you can tell me your real name and I'll add that one as well.~ Tectu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now