[cairo-commit] [cairo-www] src/FAQ.mdwn

Carl Worth cworth at freedesktop.org
Thu May 27 22:47:37 PDT 2010


 src/FAQ.mdwn |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eb8bc9d7d7a0c77d6fccaa50b0927c50984566e5
Author: creek23 <creek23 at web>
Date:   Thu May 27 22:47:36 2010 -0700

    added missing parameter at cairo_set_source_surface

diff --git a/src/FAQ.mdwn b/src/FAQ.mdwn
index 8646881..91fc247 100644
--- a/src/FAQ.mdwn
+++ b/src/FAQ.mdwn
@@ -148,7 +148,7 @@ like to instead copy some (`width`, `height`) rectangle from
 destination you would instead compute a new position for the source
 surface origin and then use `cairo_fill` instead of `cairo_paint`:
 
-	cairo_set_source_surface (cr, dest_x - source_x, dest_y - source_y)
+	cairo_set_source_surface (cr, source, dest_x - source_x, dest_y - source_y)
 	cairo_rectangle (cr, dest_x, dest_y, width, height);
 	cairo_fill (cr);
 


More information about the cairo-commit mailing list