forked from enlightenment/enlightenment
Always set the current file version at end of config. Don't update config
when checking for file version. SVN revision: 27698
This commit is contained in:
parent
758f25ac2c
commit
8f5b4dfbf8
|
@ -548,8 +548,7 @@ e_config_init(void)
|
|||
e_config->config_version = (E_CONFIG_FILE_EPOCH << 16);
|
||||
}
|
||||
#define IFCFG(v) \
|
||||
if ((e_config->config_version & 0xffff) < (v)) { \
|
||||
e_config->config_version = (e_config->config_version & 0xffff0000) | (v)
|
||||
if ((e_config->config_version & 0xffff) < (v)) {
|
||||
#define IFCFGEND }
|
||||
IFCFG(0x008d);
|
||||
e_config->show_splash = 1;
|
||||
|
@ -1294,6 +1293,8 @@ e_config_init(void)
|
|||
}
|
||||
IFCFGEND;
|
||||
|
||||
e_config->config_version = E_CONFIG_FILE_VERSION;
|
||||
|
||||
#if 0 /* example of new config */
|
||||
IFCFG(0x0090); /* the version # where this value(s) was introduced */
|
||||
e_config->new_value = 10; /* set the value(s) */
|
||||
|
|
Loading…
Reference in New Issue