From 4ff59960f343f072efd10bfbfd78b8b2fbe1d4be Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Mon, 14 Apr 2008 16:53:37 -0700 Subject: [PATCH] Fix typo in documentation (missing stride argument) --- src/cairo-image-surface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cairo-image-surface.c b/src/cairo-image-surface.c index 092b77e37..41e6bbd8e 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); * * * Return value: the appropriate stride to use given the desired