[EMAIL PROTECTED] wrote: > On Mon, Aug 21, 2006 at 12:29:14PM -0400, Enlightenment CVS wrote: >> Enlightenment CVS committal >> >> Author : sebastid >> Project : e17 >> Module : apps/e >> >> Dir : e17/apps/e/src/bin >> >> >> Modified Files: >> e_spectrum.c e_widget_cslider.c e_widget_spectrum.c >> >> >> Log Message: >> Add all enum types in select. >> >> =================================================================== >> RCS file: /cvs/e/e17/apps/e/src/bin/e_spectrum.c,v >> retrieving revision 1.8 >> retrieving revision 1.9 >> diff -u -3 -r1.8 -r1.9 >> --- e_spectrum.c 20 Aug 2006 21:18:29 -0000 1.8 >> +++ e_spectrum.c 21 Aug 2006 16:29:14 -0000 1.9 >> @@ -244,6 +244,8 @@ >> s = x / (double)(sp->iw); >> evas_color_hsv_to_rgb(h, s, v, &rr, &gg, &bb); >> break; >> + case E_COLOR_COMPONENT_MAX: >> + break; >> } > > _MAX just gives you the number of them, so you can loop over them. > nothing should ever be set to it. > > rephorm
Though so. Just don't like the warnings. Sebastian ------------------------------------------------------------------------- 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-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
