forked from enlightenment/efl
parent
b7b1a25c41
commit
9916578131
|
@ -2458,11 +2458,11 @@ _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNU
|
||||||
Entry *en;
|
Entry *en;
|
||||||
const char *str;
|
const char *str;
|
||||||
|
|
||||||
if (!rp) return 0;
|
if (!rp) return EINA_FALSE;
|
||||||
en = rp->entry_data;
|
en = rp->entry_data;
|
||||||
if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) ||
|
if ((!en) || (rp->part->type != EDJE_PART_TYPE_TEXTBLOCK) ||
|
||||||
(rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE))
|
(rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE))
|
||||||
return 0;
|
return EINA_FALSE;
|
||||||
|
|
||||||
if (text)
|
if (text)
|
||||||
{
|
{
|
||||||
|
@ -2471,11 +2471,9 @@ _edje_entry_imf_retrieve_surrounding_cb(void *data, Ecore_IMF_Context *ctx __UNU
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cursor_pos)
|
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
|
static Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue