forked from enlightenment/efl
evas/textblock - removed unnecessary null check.
It should be definitely valid. It's meaningless checking the value there.
This commit is contained in:
parent
e973390f64
commit
fbb4d092cb
|
@ -10377,7 +10377,7 @@ _size_native_calc_paragraph_size(const Evas_Object *eo_obj,
|
||||||
Evas_Coord fw, fh, fy;
|
Evas_Coord fw, fh, fy;
|
||||||
/* If there are no text items yet, calc ascent/descent
|
/* If there are no text items yet, calc ascent/descent
|
||||||
* according to the current format. */
|
* according to the current format. */
|
||||||
if (it && (ascent + descent == 0))
|
if (ascent + descent == 0)
|
||||||
_layout_item_ascent_descent_adjust(eo_obj, &ascent,
|
_layout_item_ascent_descent_adjust(eo_obj, &ascent,
|
||||||
&descent, it, it->format);
|
&descent, it, it->format);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue