mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-01 14:10:14 +01:00
[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:
parent
043352aa8d
commit
88956cd42e
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue