Hi,
--- \dll\iup\a\src\iup_expander.c Mon Oct 29 14:53:02 2018
+++ iup_expander.c Sat May 25 09:49:19 2019
@@ -384,9 +384,10 @@
int frame_time = iupAttribGetInt(ih, "FRAMETIME");
int num_frames = iupAttribGetInt(ih, "NUMFRAMES");
int time_delay = iupAttribGetInt(animate_timer, "ELAPSEDTIME");
- int height;
int current_frame = frame_time != 0 ? time_delay / frame_time : 0; /*
safety check */
+ int height;
+ num_frames = num_frames != 0 ? num_frames : 1; /* safety check */
if (closing)
height = (final_height*(num_frames - current_frame)) / num_frames;
elseBest regards, Ranier Vilela
iup_expander.c.patch
Description: iup_expander.c.patch
_______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
