From: tasn Date: Sun, 30 Jan 2011 10:36:47 +0000 (+0000) Subject: Evas text: Use the already calculated len. X-Git-Tag: 2.0_alpha~240^2~1198 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2315ef683668cbdf658e1e31e60f0b4b98fa904;p=framework%2Fuifw%2Fevas.git 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 --- 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,