[cairo-commit] src/cairo-xcb-surface-core.c

Bryce Harrington bryce at kemper.freedesktop.org
Thu Aug 21 12:58:27 PDT 2014


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

New commits:
commit 183ac1889f369743a86a8a2ff6b61486acda614e
Author: Maks Naumov <maksqwe1 at ukr.net>
Date:   Tue Aug 19 14:59:14 2014 -0700

    Fix width and height args for _cairo_xcb_connection_copy_area()
    
    Found via static analysis.
    
    Signed-off-by: Maks Naumov <maksqwe1 at ukr.net>
    Reviewed-by:  Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-xcb-surface-core.c b/src/cairo-xcb-surface-core.c
index 545fd28..9c0c0a0 100644
--- a/src/cairo-xcb-surface-core.c
+++ b/src/cairo-xcb-surface-core.c
@@ -573,7 +573,7 @@ _cairo_xcb_surface_core_copy_boxes (cairo_xcb_surface_t		*dst,
 						 src->x0 + x1,
 						 src->y0 + y1,
 						 x1, y1,
-						 x2 - x2, y2 - x2);
+						 x2 - x1, y2 - y1);
 	    }
 	}
     }


More information about the cairo-commit mailing list