[cairo-commit] src/cairo-pattern.c

Uli Schlachter psychon at kemper.freedesktop.org
Tue Feb 14 12:05:26 PST 2012


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

New commits:
commit c7d8ec72e6d14236d20b068a404d166496872a54
Author: Nis Martensen <nis.martensen at web.de>
Date:   Sun Feb 12 10:36:17 2012 +0100

    doc: fix typo
    
    The pattern creation function call in the example code has one _mesh too
    much. This hopefully fixes the mesh mismatch mess :)
    
    Signed-off-by: Nis Martensen <nis.martensen at web.de>
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index 08942f9..f114ca8 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -939,7 +939,7 @@ static const int mesh_control_point_j[4] = { 1, 2, 2, 1 };
  * cairo_mesh_pattern_begin_patch()/cairo_mesh_pattern_end_patch().
  *
  * <informalexample><programlisting>
- * cairo_pattern_t *pattern = cairo_mesh_pattern_create_mesh ();
+ * cairo_pattern_t *pattern = cairo_pattern_create_mesh ();
  *
  * /&ast; Add a Coons patch &ast;/
  * cairo_mesh_pattern_begin_patch (pattern);


More information about the cairo-commit mailing list