From 88956cd42e9cc03cb8b4ec730062993eaaf3938d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 31 Mar 2009 10:35:24 +0100 Subject: [PATCH] [ps] Check for error during stroking. Add a missing error status check that caused errors during stroke to be masked. --- src/cairo-ps-surface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index dfdc785c7..0037905a6 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -3317,6 +3317,9 @@ _cairo_ps_surface_stroke (void *abstract_surface, if (status == CAIRO_INT_STATUS_NOTHING_TO_DO) return CAIRO_STATUS_SUCCESS; + if (unlikely (status)) + return status; + return _cairo_pdf_operators_stroke (&surface->pdf_operators, path, style,