[cairo-commit] src/cairo-scaled-font.c
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Jan 24 19:39:37 PST 2008
src/cairo-scaled-font.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 45f269e33020d8d7cf247926712b9c64c1fb8959
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Jan 24 22:39:28 2008 -0500
[cairo-scaled-font] Oops, return err if not handling it
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c
index 6b40e5c..45b6e44 100644
--- a/src/cairo-scaled-font.c
+++ b/src/cairo-scaled-font.c
@@ -499,6 +499,10 @@ _cairo_scaled_font_init (cairo_scaled_font_t *scaled_font,
-scaled_font->scale.x0,
-scaled_font->scale.y0);
}
+ else
+ {
+ return status;
+ }
scaled_font->glyphs = _cairo_cache_create (_cairo_scaled_glyph_keys_equal,
_cairo_scaled_glyph_destroy,
More information about the cairo-commit
mailing list