mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-02 22:30:29 +01:00
[cairo-scaled-font] Check _cairo_scaled_glyph_loop() status
In _cairo_scaled_font_glyph_path() we forgot to check the status return of _cairo_scaled_glyph_loop() - propagate any failures.
This commit is contained in:
parent
b744c27051
commit
dbdaf0690e
1 changed files with 2 additions and 0 deletions
|
|
@ -1328,6 +1328,8 @@ _cairo_scaled_font_glyph_path (cairo_scaled_font_t *scaled_font,
|
|||
glyphs[i].index,
|
||||
CAIRO_SCALED_GLYPH_INFO_SURFACE,
|
||||
&scaled_glyph);
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
glyph_path = _cairo_path_fixed_create ();
|
||||
if (glyph_path == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue