Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/software_xcb


Modified Files:
        evas_xcb_buffer.c 


Log Message:


dont overrun mask buffers!

===================================================================
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/software_xcb/evas_xcb_buffer.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- evas_xcb_buffer.c   27 Feb 2007 16:08:41 -0000      1.11
+++ evas_xcb_buffer.c   12 Jun 2007 13:12:17 -0000      1.12
@@ -18,6 +18,7 @@
    src_ptr = src;
    dst_ptr = evas_software_xcb_x_output_buffer_data(xcbob, &bpl);
    dst_ptr = dst_ptr + (bpl * y);
+   w -= 7;
    if (buf->priv.x.bit_swap)
      {
        for (x = 0; x < w; x += 8)
@@ -52,6 +53,7 @@
             dst_ptr++;
          }
      }
+   w += 7;
    for (; x < w; x ++)
       {
         xcb_image_put_pixel(xcbob->image, x, y, A_VAL(src_ptr) >> 7);



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to