From a60afb0e78ab42498158ef852fcea35c8f71e8ec Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 11 May 2007 16:01:26 +0100 Subject: [PATCH] [cairo-scaled-font] Return status of _cairo_scaled_font_glyph_path() The status return of _cairo_path_fixed_interpret() was being ignored, propagate it. --- src/cairo-scaled-font.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c index 40ff6988e..0d5c76bc2 100644 --- a/src/cairo-scaled-font.c +++ b/src/cairo-scaled-font.c @@ -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;