[cairo-commit] src/cairo-directfb-surface.c

Claudio Ciccani klan at kemper.freedesktop.org
Sat Mar 1 02:06:42 PST 2008


 src/cairo-directfb-surface.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 39d18ecbfda6b3c1234c5ef4a4723099990b3502
Author: Claudio Ciccani <klan at directfb.org>
Date:   Sat Mar 1 11:07:47 2008 +0100

    [cairo-directfb] Fixed bug in clone_similar() (src_x added twice).

diff --git a/src/cairo-directfb-surface.c b/src/cairo-directfb-surface.c
index 2c57a97..f20bf2b 100644
--- a/src/cairo-directfb-surface.c
+++ b/src/cairo-directfb-surface.c
@@ -675,7 +675,7 @@ _cairo_directfb_surface_clone_similar (void             *abstract_surface,
             }
             
             for (i = 0; i < height; i++) {
-                direct_memcpy (dst+src_x, src+src_x, len);
+                direct_memcpy (dst, src, len);
                 dst += pitch;
                 src += image_src->stride;
             }


More information about the cairo-commit mailing list