diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-17 14:53:55 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-08-17 14:53:55 +0100 |
commit | 63f64ff3369f3768fe80a1b002a1d057e3886d4c (patch) | |
tree | 6b9056a4d2f254c0f8851f2b6ed126556597a2b9 /src/cairo-pdf-operators.c | |
parent | 56c5f9954aca52327eedac3bc88a32ab4cbea619 (diff) | |
download | cairo-63f64ff3369f3768fe80a1b002a1d057e3886d4c.tar.gz |
[pdf-operators] Propagate error from begin_actualtext().
Check the status return from begin_actualtext().
Diffstat (limited to 'src/cairo-pdf-operators.c')
-rw-r--r-- | src/cairo-pdf-operators.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cairo-pdf-operators.c b/src/cairo-pdf-operators.c index d3eddc8e4..c01acdfec 100644 --- a/src/cairo-pdf-operators.c +++ b/src/cairo-pdf-operators.c @@ -1286,6 +1286,9 @@ _cairo_pdf_operators_emit_cluster (cairo_pdf_operators_t *pdf_operators, * unicode string. */ _cairo_pdf_operators_flush_glyphs (pdf_operators); status = _cairo_pdf_operators_begin_actualtext (pdf_operators, utf8, utf8_len); + if (status) + return status; + cur_glyph = glyphs; /* XXX * If no glyphs, we should put *something* here for the text to be selectable. */ |