hermet pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=fbb4d092cbb06f687fca26c9a6fb778fbd46ab27
commit fbb4d092cbb06f687fca26c9a6fb778fbd46ab27 Author: ChunEon Park <[email protected]> Date: Wed May 28 14:14:35 2014 +0900 evas/textblock - removed unnecessary null check. It should be definitely valid. It's meaningless checking the value there. --- src/lib/evas/canvas/evas_object_textblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 7fd659b..d81e792 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -10377,7 +10377,7 @@ _size_native_calc_paragraph_size(const Evas_Object *eo_obj, Evas_Coord fw, fh, fy; /* If there are no text items yet, calc ascent/descent * according to the current format. */ - if (it && (ascent + descent == 0)) + if (ascent + descent == 0) _layout_item_ascent_descent_adjust(eo_obj, &ascent, &descent, it, it->format); --
