hermet pushed a commit to branch master.

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

commit f4c8ab755862d543d875c8611d48b2236ce56134
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Tue Feb 18 20:10:00 2014 +0900

    config - reuse the function as possible.
---
 src/bin/config_data.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/config_data.c b/src/bin/config_data.c
index 179a629..b22c5bc 100644
--- a/src/bin/config_data.c
+++ b/src/bin/config_data.c
@@ -212,9 +212,7 @@ config_init(const char *edc_path, const char *edc_img_path,
 
    config_data *cd = config_load();
 
-   cd->edc_path = eina_stringshare_add(edc_path);
-   config_edj_path_update(cd);
-
+   if (edc_path) config_edc_path_set(edc_path);
    if (edc_img_path) config_edc_img_path_set(edc_img_path);
    if (edc_snd_path) config_edc_snd_path_set(edc_snd_path);
    if (edc_fnt_path) config_edc_fnt_path_set(edc_fnt_path);

-- 


Reply via email to