projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0982b4e
)
[label] bugfix off-by-1 at ellipsis chars cutting
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Tue, 18 Jan 2011 06:08:00 +0000
(15:08 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Tue, 18 Jan 2011 06:08:00 +0000
(15:08 +0900)
src/lib/elm_label.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_label.c
b/src/lib/elm_label.c
index
406866a
..
776b9e0
100644
(file)
--- a/
src/lib/elm_label.c
+++ b/
src/lib/elm_label.c
@@
-452,7
+452,7
@@
_ellipsis_cut_chars_to_widget(Evas_Object *obj)
}
}
- for (i = 0; i <
=
mincount; i++) evas_textblock_cursor_char_prev(tc2);
+ for (i = 0; i < mincount; i++) evas_textblock_cursor_char_prev(tc2);
cutstr = evas_textblock_cursor_range_text_get(tc1, tc2, EVAS_TEXTBLOCK_TEXT_PLAIN);
if (!cutstr) return EINA_FALSE;