Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_convert_color.c 


Log Message:

i assume this was meant as an optimization. however, it wasn't correct for some 
cases (e.g. rgb = 187, 169, 123)

===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_convert_color.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_convert_color.c        7 Jun 2006 23:30:14 -0000       1.2
+++ evas_convert_color.c        8 Aug 2006 06:01:37 -0000       1.3
@@ -69,7 +69,7 @@
    d = max - min;
 
    if (v) *v = (max / 255.0);
-   if (!(max & d))
+   if (!max)
      {
        if (s) *s = 0;
         if (h) *h = 0;



-------------------------------------------------------------------------
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

Reply via email to