Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_config.c Log Message: Always set the current file version at end of config. Don't update config when checking for file version. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_config.c,v retrieving revision 1.223 retrieving revision 1.224 diff -u -3 -r1.223 -r1.224 --- e_config.c 31 Dec 2006 12:53:18 -0000 1.223 +++ e_config.c 31 Dec 2006 13:01:34 -0000 1.224 @@ -548,8 +548,7 @@ 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; @@ -1293,7 +1292,9 @@ 800 - 32, NULL, 0, 0); } 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) */ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs