summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-10-07 17:19:58 -0400
committerBehdad Esfahbod <behdad@behdad.org>2012-10-07 17:19:58 -0400
commitfecdfa95daf4916695f23e7dab89ab363be11b89 (patch)
tree6c324e9128ad1b4691fd47e4c2a46f717ed69618
parent2d1dcb3ce3354c2d5e2b4d1d291beb8d23cdea22 (diff)
Fixup hb_ot_shape_closure()
Broke it when merged cmap mapping and normalizer. Ouch!
-rw-r--r--src/hb-ot-shape.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc
index 3f72fd09..313766af 100644
--- a/src/hb-ot-shape.cc
+++ b/src/hb-ot-shape.cc
@@ -589,7 +589,7 @@ hb_ot_map_glyphs_dumb (hb_font_t *font,
{
unsigned int count = buffer->len;
for (unsigned int i = 0; i < count; i++)
- font->get_glyph (buffer->cur().codepoint, 0, &buffer->cur().codepoint);
+ font->get_glyph (buffer->info[i].codepoint, 0, &buffer->info[i].codepoint);
}
void