From 4254d31fa852d483c39e16186353719c739add67 Mon Sep 17 00:00:00 2001 From: devilhorns Date: Tue, 28 Sep 2010 00:25:54 +0000 Subject: [PATCH] And use Eina_Bool return values too. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@52833 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_entry.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 94250f8..9cd81a4 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -2458,11 +2458,11 @@ _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNU Entry *en; const char *str; - if (!rp) return 0; + if (!rp) return EINA_FALSE; en = rp->entry_data; if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) || (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE)) - return 0; + return EINA_FALSE; if (text) { @@ -2471,11 +2471,9 @@ _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNU } if (cursor_pos) - { - *cursor_pos = evas_textblock_cursor_pos_get(en->cursor); - } + *cursor_pos = evas_textblock_cursor_pos_get(en->cursor); - return 1; + return EINA_TRUE; } static Eina_Bool -- 2.7.4