forked from enlightenment/terminology
config: add error message if config is from a new Terminology
Also mark it as temporary
This commit is contained in:
parent
b327ff2f19
commit
2a02a03625
|
@ -736,10 +736,12 @@ config_load(void)
|
|||
if (config->version < CONF_VER)
|
||||
{
|
||||
// currently no upgrade path so reset config.
|
||||
ERR("config is from a newer Terminology, discard it");
|
||||
config_del(config);
|
||||
config = NULL;
|
||||
config = config_new();
|
||||
config->temporary = EINA_TRUE;
|
||||
}
|
||||
/* do no thing in case the config is from a newer
|
||||
/* do nothing in case the config is from a newer
|
||||
* terminology, we don't want to remove it. */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue