jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=be94d88921a3231ffe47c5993d080e6095f9a9c5

commit be94d88921a3231ffe47c5993d080e6095f9a9c5
Author: taehyub <taehyub....@samsung.com>
Date:   Tue Feb 2 17:46:36 2016 +0900

    edc_editor: remove unnecessary code
    
    Summary:
    remove unnecessary code in entry_recover function
    
    @fix
    
    Reviewers: Hermet, Jaehyun_Cho
    
    Differential Revision: https://phab.enlightenment.org/D3638
---
 src/lib/edc_editor.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/edc_editor.c b/src/lib/edc_editor.c
index 22870b3..5dbe16a 100644
--- a/src/lib/edc_editor.c
+++ b/src/lib/edc_editor.c
@@ -128,11 +128,9 @@ entry_recover(edit_data *ed, int cursor_pos)
    //recover selection region
    const char *selected = elm_entry_selection_get(ed->en_edit);
    if (!selected) return;
-   char *utf8 = evas_textblock_text_markup_to_utf8(NULL, selected);
    ed->on_select_recover = EINA_TRUE;
    elm_entry_select_region_set(ed->en_edit, ed->select_pos, cursor_pos);
    ed->on_select_recover = EINA_FALSE;
-   free(utf8);
 }
 
 static void

-- 


Reply via email to