[cairo-commit] src/cairo-scaled-font.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed May 9 01:23:56 PDT 2007
src/cairo-scaled-font.c | 2 ++
1 files changed, 2 insertions(+)
New commits:
diff-tree dbdaf0690e1121d0f810dfb035e7a9f0dae17248 (from b744c2705184c24845423d661258b39bbb17749b)
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed May 9 09:22:31 2007 +0100
[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.
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c
index f29835d..d6726b3 100644
--- a/src/cairo-scaled-font.c
+++ b/src/cairo-scaled-font.c
@@ -1328,6 +1328,8 @@ _cairo_scaled_font_glyph_path (cairo_sca
glyphs[i].index,
CAIRO_SCALED_GLYPH_INFO_SURFACE,
&scaled_glyph);
+ if (status)
+ return status;
glyph_path = _cairo_path_fixed_create ();
if (glyph_path == NULL)
More information about the cairo-commit
mailing list