projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa4942
)
Evas text: Fix ellipsis bidi, broke it a couple of days ago.
author
Tom Hacohen
<tom@stosb.com>
Wed, 1 Jun 2011 15:08:47 +0000
(15:08 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Wed, 1 Jun 2011 15:08:47 +0000
(15:08 +0000)
SVN revision: 59877
legacy/evas/src/lib/canvas/evas_object_text.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/canvas/evas_object_text.c
b/legacy/evas/src/lib/canvas/evas_object_text.c
index
b370eb2
..
c65b4aa
100644
(file)
--- a/
legacy/evas/src/lib/canvas/evas_object_text.c
+++ b/
legacy/evas/src/lib/canvas/evas_object_text.c
@@
-555,7
+555,7
@@
_evas_object_text_layout(Evas_Object *obj, Evas_Object_Text *o, const Eina_Unico
{
EvasBiDiStrIndex *v_to_l = NULL;
size_t pos, visual_pos;
- int len = eina_unicode_strlen(text);
+ int len = eina_unicode_strlen(text)
, par_len
;
#ifdef BIDI_SUPPORT
int *segment_idxs = NULL;
if (o->bidi_delimiters)
@@
-567,6
+567,7
@@
_evas_object_text_layout(Evas_Object *obj, Evas_Object_Text *o, const Eina_Unico
#endif
visual_pos = pos = 0;
+ par_len = len;
while (len > 0)
{
Evas_Font_Instance *script_fi = NULL;
@@
-593,7
+594,7
@@
_evas_object_text_layout(Evas_Object *obj, Evas_Object_Text *o, const Eina_Unico
}
#ifdef BIDI_SUPPORT
visual_pos = evas_bidi_position_logical_to_visual(
- v_to_l,
run
_len, pos);
+ v_to_l,
par
_len, pos);
#else
visual_pos = pos;
#endif