mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-02 06:10:26 +01:00
[cairo-scaled-font] Return status of _cairo_scaled_font_glyph_path()
The status return of _cairo_path_fixed_interpret() was being ignored, propagate it.
This commit is contained in:
parent
d46f6872a5
commit
a60afb0e78
1 changed files with 3 additions and 0 deletions
|
|
@ -1360,6 +1360,9 @@ _cairo_scaled_font_glyph_path (cairo_scaled_font_t *scaled_font,
|
|||
&closure);
|
||||
if (glyph_path != scaled_glyph->path)
|
||||
_cairo_path_fixed_destroy (glyph_path);
|
||||
|
||||
if (status)
|
||||
return status;
|
||||
}
|
||||
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue