[cairo-commit] src/cairo-svg-surface.c
Emmanuel Pacaud
emmanuel at kemper.freedesktop.org
Wed Mar 22 02:49:08 PST 2006
src/cairo-svg-surface.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree a193f70b94667808f573caa5b82a1bf50281555e (from ef04471b1b90057c00ec51e1f3d7c7ed4ab1e34c)
Author: Emmanuel Pacaud <emmanuel.pacaud at free.fr>
Date: Wed Mar 22 11:48:44 2006 +0100
SVG: return len in _cairo_svg_document_write when operation succeed.
diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index 5d569bd..d413408 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -1349,6 +1349,8 @@ _cairo_svg_document_write (cairo_output_
{
if (_cairo_output_stream_write (output_stream, buffer, len) != CAIRO_STATUS_SUCCESS)
return -1;
+
+ return len;
}
More information about the cairo-commit
mailing list