git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61440
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
/* If we need to find the position after the cutting point */
if ((wrap == line_start) || (wrap_after))
{
- while (wrap < len)
+ if (mixed_wrap)
{
- if (ALLOW_BREAK(wrap))
- break;
- wrap++;
- }
-
-
- if ((wrap < len) && (wrap > line_start))
- {
- MOVE_NEXT_UNTIL(len, wrap);
- return wrap;
+ return _layout_get_charwrap(c, fmt, ti,
+ line_start, breaks);
}
else
{
- return -1;
+ while (wrap < len)
+ {
+ if (ALLOW_BREAK(wrap))
+ break;
+ wrap++;
+ }
+
+
+ if ((wrap < len) && (wrap > line_start))
+ {
+ MOVE_NEXT_UNTIL(len, wrap);
+ return wrap;
+ }
+ else
+ {
+ return -1;
+ }
}
}