summaryrefslogtreecommitdiff
path: root/src/cairo-truetype-subset.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2009-04-05 11:17:02 +0930
committerAdrian Johnson <ajohnson@redneon.com>2009-04-05 11:17:02 +0930
commit1798fc6607a89811929d1f21cc71c751438f5699 (patch)
tree6c09f923eebf9c63fdceaddf6eaa1f76f5a58dbf /src/cairo-truetype-subset.c
parentfe97e815e81f4429889fd52bb525c260f9967356 (diff)
downloadcairo-1798fc6607a89811929d1f21cc71c751438f5699.tar.gz
Fix the TrueType subsetting fix in 9b496af5c
Oops.
Diffstat (limited to 'src/cairo-truetype-subset.c')
-rw-r--r--src/cairo-truetype-subset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-truetype-subset.c b/src/cairo-truetype-subset.c
index 59be90551..b3de972a9 100644
--- a/src/cairo-truetype-subset.c
+++ b/src/cairo-truetype-subset.c
@@ -495,7 +495,7 @@ cairo_truetype_font_remap_composite_glyph (cairo_truetype_font_t *font,
composite_glyph = &glyph_data->glyph;
do {
- if ((unsigned char *)(&composite_glyph->args[0]) >= end)
+ if ((unsigned char *)(&composite_glyph->args[1]) > end)
return CAIRO_INT_STATUS_UNSUPPORTED;
flags = be16_to_cpu (composite_glyph->flags);