mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-07 09:00:24 +01:00
[cairo-svg-surface] Missing status check.
Check and, if necessary, propagate the error status - do not allow the status to be overwritten, potentially masking the original error.
This commit is contained in:
parent
94db91b65e
commit
cebb1eef43
1 changed files with 3 additions and 0 deletions
|
|
@ -2109,6 +2109,9 @@ _cairo_svg_surface_stroke (void *abstract_dst,
|
|||
_cairo_output_stream_printf (surface->xml_node, "<path style=\"fill: none; ");
|
||||
status = _cairo_svg_surface_emit_stroke_style (surface->xml_node, surface, op,
|
||||
source, stroke_style, ctm_inverse);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
_cairo_output_stream_printf (surface->xml_node, "\" ");
|
||||
|
||||
status = _cairo_svg_surface_emit_path (surface->xml_node, path, ctm_inverse);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue