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:
001f5cb
)
Edje text: Fixed a bug with text ellipsis being off by 1.
author
tasn
<tasn>
Tue, 19 Jul 2011 11:21:35 +0000
(11:21 +0000)
committer
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 19 Jul 2011 11:21:35 +0000
(11:21 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@61500
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
a2038d0
..
0cf6101
100644
(file)
--- a/
src/lib/edje_text.c
+++ b/
src/lib/edje_text.c
@@
-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);