Re: Minor doc fix

Nis Martensen <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAE1EX-=60tuJ=Qk_OA8C42UGDPBzyXQ5_PkWRBgSVL2ufvWOOQ@mail.gmail.com>
2012/2/12 Andrea Canciani <[email protected]>:
> I applied the same change to the pattern creation line and pushed to master.

Thanks Andrea!

There is one more tiny correction. Patch attached.

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
0001-doc-fix-typo.patch.txt (text/plain, 1002 B)
From 875b700a2b10d8c7f539fee5144069fd235cd65c Mon Sep 17 00:00:00 2001
From: Nis Martensen <[email protected]>
Date: Sun, 12 Feb 2012 10:36:17 +0100
Subject: [PATCH] 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 <[email protected]>
---
 src/cairo-pattern.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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);
-- 
1.7.2.5
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.