Enlightenment CVS committal Author : handyande Project : misc Module : engage
Dir : misc/engage/src Modified Files: config.c Log Message: add reasonable bounds =================================================================== RCS file: /cvs/e/misc/engage/src/config.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -3 -r1.61 -r1.62 --- config.c 4 Sep 2006 11:31:48 -0000 1.61 +++ config.c 4 Sep 2006 19:29:01 -0000 1.62 @@ -75,10 +75,12 @@ { int ret; - ecore_config_int_create("engage.options.width", 1024, 'W', "width", - "The overall width of the application area"); - ecore_config_int_create("engage.options.height", 130, 'H', "height", - "The overall height of the application area"); + ecore_config_int_create_bound("engage.options.width", 1024, 16, 10240, 1, 'W', + "width", + "The overall width of the application area"); + ecore_config_int_create_bound("engage.options.height", 130, 16, 1024, 1, 'H', + "height", + "The overall height of the application area"); ecore_config_theme_create("engage.options.theme", "none", 't', "theme", "The theme name to use (minus path and extension)"); /* not technically correct - iconsets should do this, but it looks better for ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs