From: Youngbok Shin Date: Wed, 24 Aug 2016 05:01:28 +0000 (+0900) Subject: edje: Prevent infinite loop for text calculation X-Git-Tag: accepted/tizen/common/20160826.142838~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3d4d160b6a5a2f0915fdfe926783c041a853ae5;p=platform%2Fupstream%2Fefl.git edje: Prevent infinite loop for text calculation It was added for fixing text ellipsis calculation. Resizing object was not main purpose of the patch. It should be revised in upstream. @tizen_fix Change-Id: I6aba0dc4aececf0dc7a046af219692bd37ca690d --- diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c index 393689e..e874adb 100644 --- a/src/lib/edje/edje_calc.c +++ b/src/lib/edje/edje_calc.c @@ -1741,7 +1741,9 @@ _edje_part_recalc_single_text(FLOAT_T sc EINA_UNUSED, if ((*maxw > -1) && (mw > *maxw)) mw = *maxw; if ((*maxh > -1) && (mh > *maxh)) mh = *maxh; + /* TIZEN_ONLY(20160824): Prevent infinite loop for text calculation evas_object_resize(ep->object, mw, mh); + */ } #else