summaryrefslogtreecommitdiff
path: root/src/cairo-pdf-operators.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2008-07-03 20:27:50 +0930
committerAdrian Johnson <ajohnson@redneon.com>2008-07-03 20:27:50 +0930
commit37ed55acef5ff9d6d053cfb76af8bdcd1f91edd5 (patch)
tree5149c60ba60049f33d7585f6fa964bbf87fc0556 /src/cairo-pdf-operators.c
parent85de817e097c83136fdf827c9202416c02d72bbb (diff)
downloadcairo-37ed55acef5ff9d6d053cfb76af8bdcd1f91edd5.tar.gz
Add missing status checks
Diffstat (limited to 'src/cairo-pdf-operators.c')
-rw-r--r--src/cairo-pdf-operators.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cairo-pdf-operators.c b/src/cairo-pdf-operators.c
index abaa4d0d8..a95428203 100644
--- a/src/cairo-pdf-operators.c
+++ b/src/cairo-pdf-operators.c
@@ -1348,6 +1348,9 @@ _cairo_pdf_operators_show_text_glyphs (cairo_pdf_operators_t *pdf_operators,
clusters[i].num_glyphs,
backward,
scaled_font);
+ if (status)
+ return status;
+
cur_text += clusters[i].num_bytes;
if (!backward)
cur_glyph += clusters[i].num_glyphs;
@@ -1361,6 +1364,8 @@ _cairo_pdf_operators_show_text_glyphs (cairo_pdf_operators_t *pdf_operators,
1,
FALSE,
scaled_font);
+ if (status)
+ return status;
}
}