Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src


Modified Files:
        grab.c 


Log Message:


kim patchies.. and in authors!@ :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/grab.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- grab.c      14 Apr 2004 08:24:25 -0000      1.10
+++ grab.c      20 Apr 2004 07:11:33 -0000      1.11
@@ -668,12 +668,12 @@
 
    if ((xatt.depth == 1) && (!cm) && (is_pixmap))
      {
-        rtab[0] = 0;
-        gtab[0] = 0;
-        btab[0] = 0;
-        rtab[1] = 255;
-        gtab[1] = 255;
-        btab[1] = 255;
+        rtab[0] = 255;
+        gtab[0] = 255;
+        btab[0] = 255;
+        rtab[1] = 0;
+        gtab[1] = 0;
+        btab[1] = 0;
      }
    else if (xatt.depth <= 8)
      {
@@ -700,7 +700,7 @@
           }
      }
    __imlib_GrabXImageToRGBA(data, ox, oy, ow, oh,
-                            d, xim, mxim, v, depth, x, y, w, h, 0);
+                            d, xim, mxim, v, xatt.depth, x, y, w, h, 0);
 
    /* destroy the Ximage */
    if (is_shm)




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to