[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:
Chris Wilson 2007-05-09 09:22:31 +01:00
parent b744c27051
commit dbdaf0690e

View file

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