forked from enlightenment/efl
Evas textblock: Fixed issue with charwrap causing an infinite loop.
SVN revision: 56539
This commit is contained in:
parent
a7e2bbabae
commit
620c9f1cb7
|
@ -3018,6 +3018,8 @@ _layout_get_charwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt,
|
|||
wrap = _layout_text_cutoff_get(c, fmt, ti);
|
||||
if (wrap == 0)
|
||||
GET_NEXT(ti->text, wrap);
|
||||
if (!ti->text[wrap])
|
||||
wrap = -1;
|
||||
|
||||
return wrap;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue