From c2315ef683668cbdf658e1e31e60f0b4b98fa904 Mon Sep 17 00:00:00 2001 From: tasn Date: Sun, 30 Jan 2011 10:36:47 +0000 Subject: [PATCH] Evas text: Use the already calculated len. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@56456 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/canvas/evas_object_text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/canvas/evas_object_text.c b/src/lib/canvas/evas_object_text.c index 4f16ab8..43c4047 100644 --- a/src/lib/canvas/evas_object_text.c +++ b/src/lib/canvas/evas_object_text.c @@ -512,7 +512,7 @@ _evas_object_text_item_new(Evas_Object *obj, Evas_Object_Text *o, it->text_pos); evas_common_text_props_script_set(&it->text_props, it->text); ENFN->font_shape(ENDT, o->engine_data, it->text, &it->text_props, - o->bidi_par_props, it->text_pos, eina_unicode_strlen(it->text)); + o->bidi_par_props, it->text_pos, len); ENFN->font_string_size_get(ENDT, o->engine_data, it->text, &it->text_props, -- 2.7.4