edc_editor: ++secure code.

just in case, if the animator is called after ed instance is removed.
This commit is contained in:
Hermet Park 2016-08-03 00:38:03 +09:00
parent 9868254d9e
commit af4ec62a1b
1 changed files with 1 additions and 1 deletions

View File

@ -1096,7 +1096,7 @@ edit_edc_load(edit_data *ed, const char *file_path)
ed->cur_line = 1;
ed->line_max = line_num;
ecore_animator_add(syntax_color_timer_cb, ed);
syntax_color_timer_cb(ed);
ret = EINA_TRUE;