summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2020-04-21 14:37:23 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2020-04-21 14:37:23 +0900
commitb33d4ff197b05d13f456c1110cb1e6977dcbe22e (patch)
tree5a885807f086aaf0a94aa5534427e537f1204d3f
parent92faf6a0e17e4b6aa84ed4298c8c80733035cfd2 (diff)
evas_object_textblock: add null check for return of eina_inlist_remove
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index d421acd07f..78ccec4d41 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -17052,7 +17052,7 @@ _merge_to_first_text_nodes(const Evas_Object *eo_obj)
17052 all_cursors = eina_list_clone(o->cursors); 17052 all_cursors = eina_list_clone(o->cursors);
17053 all_cursors = eina_list_append(all_cursors, o->cursor); 17053 all_cursors = eina_list_append(all_cursors, o->cursor);
17054 17054
17055 while ((tn = _NODE_TEXT(EINA_INLIST_GET(o->text_nodes)->next))) 17055 while (o->text_nodes && (tn = _NODE_TEXT(EINA_INLIST_GET(o->text_nodes)->next)))
17056 { 17056 {
17057 fn = tn->format_node; 17057 fn = tn->format_node;
17058 17058