diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-22 22:21:44 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-22 23:01:53 +0000 |
commit | 87529198aa37f5eb5943eb80cc1aae858fdaadd0 (patch) | |
tree | f7462d94bdb0428b5d30c8ecb80215d778dd69bd /src/cairo-scaled-font-subsets.c | |
parent | 6544f3b25d2120b7bd04f6c956c2ea7b9c101c76 (diff) | |
download | cairo-87529198aa37f5eb5943eb80cc1aae858fdaadd0.tar.gz |
scaled-font: Mark an error site with _cairo_error()
Diffstat (limited to 'src/cairo-scaled-font-subsets.c')
-rw-r--r-- | src/cairo-scaled-font-subsets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-scaled-font-subsets.c b/src/cairo-scaled-font-subsets.c index e911f3117..228b65a32 100644 --- a/src/cairo-scaled-font-subsets.c +++ b/src/cairo-scaled-font-subsets.c @@ -401,7 +401,7 @@ _cairo_sub_font_glyph_map_to_unicode (cairo_sub_font_glyph_t *sub_font_glyph, /* No existing mapping. Use the requested mapping */ sub_font_glyph->utf8 = malloc (utf8_len + 1); if (unlikely (sub_font_glyph->utf8 == NULL)) - return CAIRO_STATUS_NO_MEMORY; + return _cairo_error (CAIRO_STATUS_NO_MEMORY); memcpy (sub_font_glyph->utf8, utf8, utf8_len); sub_font_glyph->utf8[utf8_len] = 0; |