Definitely a copy&paste error. Fixed and committed to SVN.
Best,
Scuri
2018-01-16 23:34 GMT-02:00 Ranier VF <ranier_...@hotmail.com>:
> Hi,
> Issue found by Coverity Scan.
> CID 210621 (#1 of 1): Copy-paste error (COPY_PASTE_ERROR)
> copy_paste_error: max_w in max_w > geometry.min_height looks like a
> copy-paste error.
>
> --- a\src\gtk\iupgtk_dialog.c Wed Oct 11 19:38:34 2017
> +++ b\src\gtk\iupgtk_dialog.c Tue Jan 16 23:33:23 2018
> @@ -1091,7 +1091,7 @@
> geometry.max_width = max_w-decorwidth;
>
> geometry.max_height = 65535;
> - if (max_h > decorheight && max_w > geometry.min_height)
> + if (max_h > decorheight && max_h > geometry.min_height)
> geometry.max_height = max_h-decorheight;
>
> /* must set both at the same time, or GTK will assume its default */
>
> Best.
> Ranier
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users