forked from enlightenment/efl
Evas textblock: make charwrap not force wrap in an illegal position.
SVN revision: 59965
This commit is contained in:
parent
d02f25e1ff
commit
2e28418051
|
@ -3179,9 +3179,7 @@ _layout_get_charwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt,
|
|||
}
|
||||
|
||||
|
||||
if (uwrap == line_start)
|
||||
MOVE_NEXT_UNTIL(len, uwrap);
|
||||
if ((uwrap < line_start) || (uwrap > len))
|
||||
if ((uwrap <= line_start) || (uwrap > len))
|
||||
return -1;
|
||||
|
||||
return uwrap;
|
||||
|
|
Loading…
Reference in New Issue