more cleanups

SVN revision: 12095
This commit is contained in:
tsauerbeck 2004-10-30 18:25:51 +00:00 committed by tsauerbeck
parent e83506617c
commit 45693f5446
1 changed files with 5 additions and 11 deletions

View File

@ -389,20 +389,14 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
break;
}
}
else
else if (c1 >= orig_len || c2 == 0)
{
if (c1 >= orig_len)
{
buf[0] = 0;
break;
}
else if (c2 == 0)
{
buf[0] = 0;
break;
}
buf[0] = 0;
break;
}
buf[0] = 0;
if (c1 >= 0)
{
strcpy(buf, "...");