Skip to content

Commit

Permalink
doc: fix typo
Browse files Browse the repository at this point in the history
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@web.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
  • Loading branch information
Nis Martensen authored and Uli Schlachter committed Feb 14, 2012
1 parent 4f81940 commit c7d8ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo-pattern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c7d8ec7

Please sign in to comment.