hermet pushed a commit to branch master.

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

commit 544965020c58725bc12ce0f13be637efa6661494
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Tue Jul 15 22:16:23 2014 +0900

    editor - increase lines by one function call.
---
 src/bin/edc_editor.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/edc_editor.c b/src/bin/edc_editor.c
index 1b49fff..7b6a4ef 100644
--- a/src/bin/edc_editor.c
+++ b/src/bin/edc_editor.c
@@ -473,10 +473,8 @@ edit_template_insert(edit_data *ed)
      {
         elm_entry_entry_insert(ed->en_edit, p);
         elm_entry_entry_insert(ed->en_edit, t[i]);
-        //Incease line by (line count - 1)
-        line_increase(ed, 1);
      }
-
+   line_increase(ed, (line_cnt - 1));
    elm_entry_entry_insert(ed->en_edit, p);
    elm_entry_entry_insert(ed->en_edit, t[i]);
 

-- 


Reply via email to