projects
/
profile
/
ivi
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff8bd2
)
Edje text: fix issue with ellipsis causing text to disappear.
author
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 9 May 2011 17:23:03 +0000
(17:23 +0000)
committer
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 9 May 2011 17:23:03 +0000
(17:23 +0000)
Thanks to Brian Wang for the report.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@59305
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/edje_text.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_text.c
b/src/lib/edje_text.c
index
5f4b04e
..
c29cbe7
100644
(file)
--- a/
src/lib/edje_text.c
+++ b/
src/lib/edje_text.c
@@
-177,7
+177,7
@@
_edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
/* Convert uc1, uc2 -> c1, c2 */
i = 0;
- if (uc1 > 0)
+ if (uc1 >
=
0)
{
c1 = 0;
for ( ; i < uc1 ; i++)
@@
-185,7
+185,7
@@
_edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
c1 = evas_string_char_next_get(text, c1, NULL);
}
}
- if (uc2 > 0)
+ if (uc2 >
=
0)
{
c2 = c1;
for ( ; i < uc2 ; i++)