forked from enlightenment/enventor
confic_data: Fix T1662 to always save edj file in /tmp/
Summary: Fix T1662 to always save edj file in /tmp/ Reviewers: Hermet Maniphest Tasks: T1662 Differential Revision: https://phab.enlightenment.org/D1462
This commit is contained in:
parent
2e51c1fe01
commit
9b83fe29b8
|
@ -49,9 +49,7 @@ config_edj_path_update(config_data *cd)
|
|||
snprintf(buf, (ext - file) + 1, "%s", file);
|
||||
else
|
||||
strncpy(buf, file, sizeof(buf) - 1);
|
||||
char *filedir = ecore_file_dir_get(cd->edc_path);
|
||||
sprintf(edj_path, "%s/%s.edj", filedir, buf);
|
||||
free(filedir);
|
||||
sprintf(edj_path, "/tmp/%s.edj", buf);
|
||||
|
||||
eina_stringshare_replace(&cd->edj_path, edj_path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue