tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8e5234cf75542febc3b429f4069916f88c0f5fe0

commit 8e5234cf75542febc3b429f4069916f88c0f5fe0
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Apr 2 10:06:57 2014 +0100

    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 c977434..785d687 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;

-- 


Reply via email to