Enlightenment CVS committal

Author  : kwo
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src


Modified Files:
        grab.c 


Log Message:
Fix grabbing when source x or y is < 0.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/grab.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- grab.c      20 Apr 2004 07:11:33 -0000      1.11
+++ grab.c      4 May 2004 22:05:28 -0000       1.12
@@ -699,7 +699,7 @@
              btab[i] = cols[i].blue >> 8;
           }
      }
-   __imlib_GrabXImageToRGBA(data, ox, oy, ow, oh,
+   __imlib_GrabXImageToRGBA(data, ox + clipx, oy + clipy, ow, oh,
                             d, xim, mxim, v, xatt.depth, x, y, w, h, 0);
 
    /* destroy the Ximage */




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to