Evas textblock: Minor code cleanup.

Moved a global variable into a local scope, as it's no longer needed globally.
This commit is contained in:
Tom Hacohen 2014-04-02 10:06:57 +01:00
parent b517ed81d5
commit 8e5234cf75
1 changed files with 1 additions and 4 deletions

View File

@ -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;