forked from enlightenment/efl
Evas text/textblock: init cur_fi to NULL.
SVN revision: 59808
This commit is contained in:
parent
884eaf1c63
commit
a403ca75c2
|
@ -583,7 +583,7 @@ _evas_object_text_layout(Evas_Object *obj, Evas_Object_Text *o, const Eina_Unico
|
|||
|
||||
while (script_len > 0)
|
||||
{
|
||||
Evas_Font_Instance *cur_fi;
|
||||
Evas_Font_Instance *cur_fi = NULL;
|
||||
int run_len = script_len;
|
||||
if (o->font)
|
||||
{
|
||||
|
|
|
@ -2845,7 +2845,7 @@ skip:
|
|||
|
||||
while (script_len > 0)
|
||||
{
|
||||
Evas_Font_Instance *cur_fi;
|
||||
Evas_Font_Instance *cur_fi = NULL;
|
||||
int run_len = script_len;
|
||||
ti = _layout_text_item_new(c, fmt);
|
||||
ti->parent.text_node = n;
|
||||
|
|
Loading…
Reference in New Issue