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
iup_dialog.patch
Description: iup_dialog.patch
------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
