Evas textblock: Fixed a bug in mixed wrapping mode.
SVN revision: 61440
This commit is contained in:
parent
22eb580e59
commit
73a5f2277a
|
@ -3266,6 +3266,13 @@ _layout_get_word_mixwrap_common(Ctxt *c, Evas_Object_Textblock_Format *fmt,
|
|||
|
||||
/* If we need to find the position after the cutting point */
|
||||
if ((wrap == line_start) || (wrap_after))
|
||||
{
|
||||
if (mixed_wrap)
|
||||
{
|
||||
return _layout_get_charwrap(c, fmt, ti,
|
||||
line_start, breaks);
|
||||
}
|
||||
else
|
||||
{
|
||||
while (wrap < len)
|
||||
{
|
||||
|
@ -3285,6 +3292,7 @@ _layout_get_word_mixwrap_common(Ctxt *c, Evas_Object_Textblock_Format *fmt,
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue