[ps] Check for error during stroking.

Add a missing error status check that caused errors during stroke to be
masked.
This commit is contained in:
Chris Wilson 2009-03-31 10:35:24 +01:00
parent 043352aa8d
commit 88956cd42e

View file

@ -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,