Evas text: Use the already calculated len.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:36:47 +0000 (10:36 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:36:47 +0000 (10:36 +0000)
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

index 4f16ab8..43c4047 100644 (file)
@@ -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,