forked from enlightenment/efl
Revert "evas/textblock - null check."
I'm sorry, but those kind of commit messages are unacceptable for code
I'm the only maintainer of. It's bad enough that to have them in the
project in general, but this I won't accept.
I wanted to review this commit, but the lack of explanation about what
you are trying to fix and why you think this is the good fix prevents me
from doing my job. However, without really looking too much into it,
this commit looks wrong. evas_textblock_cursor_format_is_visible_get
should verify there's a format node...
Please come up with a better commit message and re-commit.
This reverts commit fe33aa7408
.
This commit is contained in:
parent
fe33aa7408
commit
82f5f78dac
|
@ -8887,7 +8887,6 @@ evas_textblock_cursor_content_get(const Evas_Textblock_Cursor *cur)
|
||||||
char *ret;
|
char *ret;
|
||||||
fnode = _evas_textblock_node_visible_at_pos_get(
|
fnode = _evas_textblock_node_visible_at_pos_get(
|
||||||
evas_textblock_cursor_format_get(cur));
|
evas_textblock_cursor_format_get(cur));
|
||||||
if (!fnode) return NULL;
|
|
||||||
|
|
||||||
buf = eina_strbuf_new();
|
buf = eina_strbuf_new();
|
||||||
_markup_get_format_append(buf, fnode);
|
_markup_get_format_append(buf, fnode);
|
||||||
|
|
Loading…
Reference in New Issue