hermet pushed a commit to branch enventor-0.3.

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

commit cdd1f989fe15e471c236c01d12744599886aded7
Author: ChunEon Park <[email protected]>
Date:   Sat Aug 2 18:26:14 2014 +0900

    editor: set line number status correctly when edc is empty.
---
 src/bin/edc_editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/edc_editor.c b/src/bin/edc_editor.c
index 7a45d00..d10a3ee 100644
--- a/src/bin/edc_editor.c
+++ b/src/bin/edc_editor.c
@@ -1077,7 +1077,6 @@ edit_edc_read(edit_data *ed, const char *file_path)
       parser_first_group_name_get(ed->pd, ed->en_edit);
 
    stats_edc_group_update(group_name);
-   stats_line_num_update(0, ed->line_max);
    base_title_set(config_edc_path_get());
 
    ecore_animator_add(syntax_color_timer_cb, ed);
@@ -1089,6 +1088,7 @@ err:
    if (utf8_edit) eina_file_map_free(file, utf8_edit);
    if (file) eina_file_close(file);
    autocomp_target_set(ed);
+   stats_line_num_update(1, ed->line_max);
 }
 
 void

-- 


Reply via email to