[cairo] [PATCH] wrong # of arguments in document

Kouhei Sutou kou at cozmixng.org
Fri Apr 11 08:09:29 PDT 2008


Hi,

I found a small document bug:

diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c
index 092b77e..41e6bbd 100644
--- a/src/cairo-image-surface.c
+++ b/src/cairo-image-surface.c
@@ -392,7 +392,8 @@ _cairo_image_surface_create_with_content (cairo_content_t	content,
  * stride = cairo_format_stride_for_width (format, width);
  * data = malloc (stride * height);
  * surface = cairo_image_surface_create_for_data (data, format,
- *						  width, height);
+ *						  width, height,
+ *						  stride);
  * </programlisting></informalexample>
  *
  * Return value: the appropriate stride to use given the desired


Thanks,
--
kou


More information about the cairo mailing list