forked from enlightenment/efl
Edje text: Fixed a bug with text ellipsis being off by 1.
SVN revision: 61500
This commit is contained in:
parent
d9adfc83ca
commit
63946da1a3
|
@ -192,7 +192,14 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
|
|||
}
|
||||
if (uc2 >= 0)
|
||||
{
|
||||
c2 = c1;
|
||||
if (c1 >= 0)
|
||||
{
|
||||
c2 = c1;
|
||||
}
|
||||
else
|
||||
{
|
||||
c2 = 0;
|
||||
}
|
||||
for ( ; i < uc2 ; i++)
|
||||
{
|
||||
c2 = evas_string_char_next_get(text, c2, NULL);
|
||||
|
|
Loading…
Reference in New Issue