forked from enlightenment/efl
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:
parent
a0ed0483fc
commit
3c27869c93
|
@ -9896,7 +9896,7 @@ _evas_textblock_cursor_break_paragraph(Efl_Text_Cursor_Cursor *cur,
|
||||||
o->text_nodes = _NODE_TEXT(eina_inlist_append_relative(
|
o->text_nodes = _NODE_TEXT(eina_inlist_append_relative(
|
||||||
EINA_INLIST_GET(o->text_nodes),
|
EINA_INLIST_GET(o->text_nodes),
|
||||||
EINA_INLIST_GET(n),
|
EINA_INLIST_GET(n),
|
||||||
EINA_INLIST_GET(cur->node)));
|
cur->node ? EINA_INLIST_GET(cur->node) : NULL));
|
||||||
/* Handle text and format changes. */
|
/* Handle text and format changes. */
|
||||||
if (cur->node)
|
if (cur->node)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue