Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: warp.c Log Message: Configuration sanity check. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/warp.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -3 -r1.60 -r1.61 --- warp.c 23 Apr 2005 07:31:18 -0000 1.60 +++ warp.c 23 Apr 2005 13:30:03 -0000 1.61 @@ -363,12 +363,20 @@ */ static void +WarplistCfgValidate(void) +{ + if (Conf.warplist.icon_mode < 0 || Conf.warplist.icon_mode > 3) + Conf.warplist.icon_mode = 3; +} + +static void WarplistSighan(int sig, void *prm __UNUSED__) { switch (sig) { case ESIGNAL_INIT: WarplistInit(); + WarplistCfgValidate(); break; } } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs