[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:
Chris Wilson 2007-05-11 16:01:26 +01:00
parent d46f6872a5
commit a60afb0e78

View file

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