woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=105132825694766e15186339f80f52dfe96d396c

commit 105132825694766e15186339f80f52dfe96d396c
Author: WooHyun Jung <[email protected]>
Date:   Mon Feb 2 19:12:42 2015 +0900

    edje: edje_entry - remove dead code
---
 src/lib/edje/edje_entry.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index ac7c8c7..5b73afe 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -3587,12 +3587,7 @@ _edje_entry_cursor_up(Edje_Real_Part *rp, Edje_Cursor 
cur)
      return EINA_FALSE;
    evas_textblock_cursor_char_geometry_get(c, &cx, &cy, &cw, &ch);
    if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2)))
-     {
-        if (cx < (lx + (lw / 2)))
-          evas_textblock_cursor_line_char_last(c);
-        else
-          evas_textblock_cursor_line_char_last(c);
-     }
+     evas_textblock_cursor_line_char_last(c);
    _sel_update(en->ed, c, rp->object, rp->typedata.text->entry_data);
 
    _edje_entry_imf_cursor_info_set(en);

-- 


Reply via email to