evas/textblock - null check.

This commit is contained in:
ChunEon Park 2013-10-04 02:43:20 +09:00
parent 18be4c50d9
commit fe33aa7408
1 changed files with 1 additions and 0 deletions

View File

@ -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);