summaryrefslogtreecommitdiff
path: root/src/cairo-pen.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-04-08 23:11:57 +0100
committerCarl Worth <cworth@cworth.org>2007-04-09 16:23:36 -0700
commit14ac5dd78b38aaaa118e8ac39fa50f485bff516d (patch)
tree41eaa1a8d330bda93eba59afe782dc01fff2d898 /src/cairo-pen.c
parentb823e2f68ff613b2c4f537aba6bbbcf413412eb2 (diff)
downloadcairo-14ac5dd78b38aaaa118e8ac39fa50f485bff516d.tar.gz
Return the correct status from _cairo_pen_stroke_spline().
The return value is shared before the normal cleanup and error paths, so do not simply return a hard-coded CAIRO_STATUS_SUCCESS.
Diffstat (limited to 'src/cairo-pen.c')
-rw-r--r--src/cairo-pen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-pen.c b/src/cairo-pen.c
index 1bc096b6e..0d18782cd 100644
--- a/src/cairo-pen.c
+++ b/src/cairo-pen.c
@@ -461,5 +461,5 @@ _cairo_pen_stroke_spline (cairo_pen_t *pen,
BAIL:
_cairo_polygon_fini (&polygon);
- return CAIRO_STATUS_SUCCESS;
+ return status;
}