Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

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


Modified Files:
        evas_x_color.c 


Log Message:


fixies...

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/software_x11/evas_x_color.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- evas_x_color.c      14 Nov 2002 05:38:10 -0000      1.2
+++ evas_x_color.c      2 Dec 2004 00:35:39 -0000       1.3
@@ -66,7 +66,7 @@
                  xcl.blue = (unsigned short)(val);
                  xcl_in = xcl;
                  ret = XAllocColor(d, cmap, &xcl);
-                 if ((ret == Success) ||
+                 if ((ret == 0) ||
                      ((xcl_in.red & sig_mask) != (xcl.red & sig_mask)) ||
                      ((xcl_in.green & sig_mask) != (xcl.green & sig_mask)) ||
                      ((xcl_in.blue & sig_mask) != (xcl.blue & sig_mask)))
@@ -116,7 +116,7 @@
        xcl.blue = (unsigned short)(val);
        xcl_in = xcl;
        ret = XAllocColor(d, cmap, &xcl);
-       if ((ret == Success) ||
+       if ((ret == 0) ||
            ((xcl_in.red & sig_mask) != (xcl.red & sig_mask)) ||
            ((xcl_in.green & sig_mask) != (xcl.green & sig_mask)) ||
            ((xcl_in.blue & sig_mask) != (xcl.blue & sig_mask)))




-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to