zmike pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=c594c83a02cdd0000dd7ccefd6761ec613330278
commit c594c83a02cdd0000dd7ccefd6761ec613330278 Author: Mike Blumenkrantz <zm...@samsung.com> Date: Tue Jul 30 13:12:14 2019 -0400 efl_ui/layout: use MAX macro for min size clamping in group calc Summary: Depends on D9442 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Differential Revision: https://phab.enlightenment.org/D9447 --- src/lib/elementary/efl_ui_layout.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index f9865d231e..7107cd874d 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -186,10 +186,8 @@ _sizing_eval(Evas_Object *obj, Efl_Ui_Layout_Data *sd, Elm_Layout_Data *ld) minw = sz.w; minh = sz.h; - if (minw > rest_w) - rest_w = minw; - if (minh > rest_h) - rest_h = minh; + rest_w = MAX(minw, rest_w); + rest_h = MAX(minh, rest_h); if (ld) { --