forked from enlightenment/efl
evas_object_textblock: add null check for return of eina_inlist_remove
This commit is contained in:
parent
92faf6a0e1
commit
b33d4ff197
|
@ -17052,7 +17052,7 @@ _merge_to_first_text_nodes(const Evas_Object *eo_obj)
|
||||||
all_cursors = eina_list_clone(o->cursors);
|
all_cursors = eina_list_clone(o->cursors);
|
||||||
all_cursors = eina_list_append(all_cursors, o->cursor);
|
all_cursors = eina_list_append(all_cursors, o->cursor);
|
||||||
|
|
||||||
while ((tn = _NODE_TEXT(EINA_INLIST_GET(o->text_nodes)->next)))
|
while (o->text_nodes && (tn = _NODE_TEXT(EINA_INLIST_GET(o->text_nodes)->next)))
|
||||||
{
|
{
|
||||||
fn = tn->format_node;
|
fn = tn->format_node;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue