forked from enlightenment/efl
Evas textblock: Fixed compilation with FriBiDi disabled.
This issue was introduced in d175b8aa69
during the previous merge window.
Thanks a lot to vtorri for reporting.
This commit is contained in:
parent
c68ba35169
commit
2e7565b7c3
|
@ -10364,9 +10364,15 @@ _size_native_calc_line_finalize(const Evas_Object *eo_obj, Eina_List *items,
|
||||||
loop_advance:
|
loop_advance:
|
||||||
*w += it->adv;
|
*w += it->adv;
|
||||||
|
|
||||||
|
#ifdef BIDI_SUPPORT
|
||||||
if (!last_it || (it->visual_pos > last_it->visual_pos))
|
if (!last_it || (it->visual_pos > last_it->visual_pos))
|
||||||
|
#else
|
||||||
|
if (!last_it)
|
||||||
|
#endif
|
||||||
|
{
|
||||||
last_it = it;
|
last_it = it;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (last_it)
|
if (last_it)
|
||||||
*w += last_it->w - last_it->adv;
|
*w += last_it->w - last_it->adv;
|
||||||
|
|
Loading…
Reference in New Issue