Edje text: Fixed a bug with text ellipsis being off by 1.

SVN revision: 61500
This commit is contained in:
Tom Hacohen 2011-07-19 11:21:35 +00:00
parent d9adfc83ca
commit 63946da1a3
1 changed files with 8 additions and 1 deletions

View File

@ -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);