summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 12:20:12 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 12:20:12 +0900
commit3c27869c9385f63b51b6dc3556e98d9f51414e06 (patch)
treeb2b8eaba42d1518638661cad38a7f34d29b151f3
parenta0ed0483fc856dbafed6f69a3a8496f2cff17d72 (diff)
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
-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 245a075376..313c0a7f09 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -9896,7 +9896,7 @@ _evas_textblock_cursor_break_paragraph(Efl_Text_Cursor_Cursor *cur,
9896 o->text_nodes = _NODE_TEXT(eina_inlist_append_relative( 9896 o->text_nodes = _NODE_TEXT(eina_inlist_append_relative(
9897 EINA_INLIST_GET(o->text_nodes), 9897 EINA_INLIST_GET(o->text_nodes),
9898 EINA_INLIST_GET(n), 9898 EINA_INLIST_GET(n),
9899 EINA_INLIST_GET(cur->node))); 9899 cur->node ? EINA_INLIST_GET(cur->node) : NULL));
9900 /* Handle text and format changes. */ 9900 /* Handle text and format changes. */
9901 if (cur->node) 9901 if (cur->node)
9902 { 9902 {