evas text: remove duplicated code which can cause smaller ellipsis position 31/110631/2
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 17 Jan 2017 07:18:33 +0000 (16:18 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 17 Jan 2017 09:54:50 +0000 (01:54 -0800)
@tizen_fix

Change-Id: I8a1fa5389a87e454b8c7c5fb5d8948c70fcde4b4
(cherry picked from commit e5b24963f20cf6594202080d9a8ffead1cca53cb)

src/lib/evas/canvas/evas_object_text.c

index 3c7ae27..c3b4c03 100644 (file)
@@ -886,7 +886,6 @@ _evas_object_text_layout(Evas_Object *eo_obj, Evas_Text_Data *o, Eina_Unicode *t
                   end_ellip_it = _layout_ellipsis_item_new(obj, o);
                }
              o->last_computed.ellipsis_end = end_ellip_it;
-             ellip_frame -= end_ellip_it->w;
              /* TIZEN_ONLY(20161007): Apply the last character's advance for width calculation
              ellip_frame -= end_ellip_it->w;
               */