Commit 84413218 authored by Behdad Esfahbod's avatar Behdad Esfahbod

[coretext] Minor fix

parent 729e7678
......@@ -133,7 +133,7 @@ run_iterator_set_current_run (struct RunIterator *iter,
iter->current_cgglyphs = iter->current_cgglyphs_buffer;
}
iter->current_indices = malloc (sizeof (CFIndex *) * ct_glyph_count);
iter->current_indices = malloc (sizeof (CFIndex) * ct_glyph_count);
CTRunGetStringIndices (iter->current_run, CFRangeMake (0, ct_glyph_count),
iter->current_indices);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment