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,8 +10364,14 @@ _size_native_calc_line_finalize(const Evas_Object *eo_obj, Eina_List *items,
|
|||
loop_advance:
|
||||
*w += it->adv;
|
||||
|
||||
#ifdef BIDI_SUPPORT
|
||||
if (!last_it || (it->visual_pos > last_it->visual_pos))
|
||||
last_it = it;
|
||||
#else
|
||||
if (!last_it)
|
||||
#endif
|
||||
{
|
||||
last_it = it;
|
||||
}
|
||||
}
|
||||
|
||||
if (last_it)
|
||||
|
|
Loading…
Reference in New Issue