From 8e5234cf75542febc3b429f4069916f88c0f5fe0 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 2 Apr 2014 10:06:57 +0100 Subject: [PATCH] Evas textblock: Minor code cleanup. Moved a global variable into a local scope, as it's no longer needed globally. --- src/lib/evas/canvas/evas_object_textblock.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index c977434ad9..785d687a92 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -4325,13 +4325,10 @@ _layout_get_mixedwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt, breaks); } -/* Should be moved inside _layout_ellipsis_item_new once we fix the hack in - * textblock render */ -static const Eina_Unicode _ellip_str[2] = { 0x2026, '\0' }; - static Evas_Object_Textblock_Text_Item * _layout_ellipsis_item_new(Ctxt *c, const Evas_Object_Textblock_Item *cur_it) { + const Eina_Unicode _ellip_str[2] = { 0x2026, '\0' }; Evas_Object_Textblock_Text_Item *ellip_ti; Evas_Script_Type script; Evas_Font_Instance *script_fi = NULL, *cur_fi; -- 2.34.1