From 82f5f78dac8d3055fe1e1c3431875250456887b9 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 3 Oct 2013 18:45:07 +0100 Subject: [PATCH] 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 fe33aa74084aa383fb880ce9a32fa17663c41346. --- src/lib/evas/canvas/evas_object_textblock.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index de53f114d2..021f59aaee 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -8887,7 +8887,6 @@ 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);