Fixed and committed to the SVN

Em sáb, 25 de mai de 2019 às 09:50, Ranier VF <ranier_...@hotmail.com>
escreveu:

> 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;
>    else
>
> Best regards,
> Ranier Vilela_______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to