evas object textblock - fix append if cur node is null

then it will appeand totally as it should be. small buglet found. fixed

found by PVS studio

@fix
This commit is contained in:
Carsten Haitzler 2017-07-29 12:20:12 +09:00
parent a0ed0483fc
commit 3c27869c93
1 changed files with 1 additions and 1 deletions

View File

@ -9896,7 +9896,7 @@ _evas_textblock_cursor_break_paragraph(Efl_Text_Cursor_Cursor *cur,
o->text_nodes = _NODE_TEXT(eina_inlist_append_relative(
EINA_INLIST_GET(o->text_nodes),
EINA_INLIST_GET(n),
EINA_INLIST_GET(cur->node)));
cur->node ? EINA_INLIST_GET(cur->node) : NULL));
/* Handle text and format changes. */
if (cur->node)
{