Enlightenment CVS committal Author : handyande Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_config Modified Files: ecore_config.c Log Message: Fix rgb defaults and a little indenting =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_config/ecore_config.c,v retrieving revision 1.77 retrieving revision 1.78 diff -u -3 -r1.77 -r1.78 --- ecore_config.c 16 Aug 2006 17:40:08 -0000 1.77 +++ ecore_config.c 7 Sep 2006 08:40:28 -0000 1.78 @@ -477,20 +477,20 @@ else { if (type == ECORE_CONFIG_INT || type == ECORE_CONFIG_BLN) - { + { e->val = (long) *((int *)val); e->type = type; - } + } else if (type == ECORE_CONFIG_STR || type == ECORE_CONFIG_THM) - { + { if (!(e->ptr = strdup(val))) return ECORE_CONFIG_ERR_OOM; if (e->type == ECORE_CONFIG_NIL) e->type = type; - } + } else if (type == ECORE_CONFIG_RGB) - { - e->val = *((long *)val); + { + __ecore_argbstr_to_long((char *)val, &e->val); e->type = ECORE_CONFIG_RGB; } else if (type == ECORE_CONFIG_FLT) ------------------------------------------------------------------------- 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