adriano';s edje text fit patch

SVN revision: 34206
This commit is contained in:
Carsten Haitzler 2008-04-06 02:08:21 +00:00
parent 57362186b6
commit 4d54b4aaa6
1 changed files with 4 additions and 1 deletions

View File

@ -189,7 +189,10 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
}
}
if (!((c1 >= 0 || c2 >= 0) && (tw > sw)))
if (!(((c1 >= 0) || (c2 >= 0)) && (tw > sw)))
return text;
if ((c1 == 0) && (c2 == 0))
return text;
orig_len = strlen(text);