summaryrefslogtreecommitdiff
path: root/src/cairo-pattern.c
diff options
context:
space:
mode:
authorNis Martensen <nis.martensen@web.de>2012-02-12 10:36:17 +0100
committerUli Schlachter <psychon@znc.in>2012-02-14 21:04:25 +0100
commitc7d8ec72e6d14236d20b068a404d166496872a54 (patch)
treec138658a46abcdf26756dc29f6308a822047e7de /src/cairo-pattern.c
parent4f81940749b680c6e48d393fd13108775efa38eb (diff)
downloadcairo-c7d8ec72e6d14236d20b068a404d166496872a54.tar.gz
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@web.de> Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-pattern.c')
-rw-r--r--src/cairo-pattern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index 08942f9c2..f114ca8e5 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);