forked from enlightenment/efl
evas/textblock - null check.
This commit is contained in:
parent
18be4c50d9
commit
fe33aa7408
|
@ -8887,6 +8887,7 @@ evas_textblock_cursor_content_get(const Evas_Textblock_Cursor *cur)
|
|||
char *ret;
|
||||
fnode = _evas_textblock_node_visible_at_pos_get(
|
||||
evas_textblock_cursor_format_get(cur));
|
||||
if (!fnode) return NULL;
|
||||
|
||||
buf = eina_strbuf_new();
|
||||
_markup_get_format_append(buf, fnode);
|
||||
|
|
Loading…
Reference in New Issue