forked from enlightenment/efl
use the created system file if one is not defined (modifications will cause it to get saved to ~/.e/config.db)
SVN revision: 8762
This commit is contained in:
parent
8783ce6d8f
commit
2d72dd7b1a
|
@ -607,7 +607,8 @@ int ecore_config_init(char *name) {
|
|||
if ((buf=malloc(PATH_MAX*sizeof(char)))) {
|
||||
snprintf(buf,PATH_MAX,"%s/.e/config.db",p);
|
||||
if (ecore_config_load_file(buf) != 0)
|
||||
return ECORE_CONFIG_ERR_NOFILE;
|
||||
if (ecore_config_load_file(PACKAGE_DATA_DIR "/system.db") != 0)
|
||||
return ECORE_CONFIG_ERR_NOFILE;
|
||||
}
|
||||
free(buf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue