hermet pushed a commit to branch master.

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

commit bfcc188551d9626f4712f257b4723772c997735d
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 a1306d8..ff9b610 100644
--- a/src/bin/edc_editor.c
+++ b/src/bin/edc_editor.c
@@ -1151,7 +1151,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);
@@ -1163,6 +1162,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