From 8441321866247a0a6c2f4b11a3c3863005bfba44 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 10 Aug 2014 19:23:29 -0400 Subject: [coretext] Minor fix --- modules/basic/basic-coretext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/basic/basic-coretext.c b/modules/basic/basic-coretext.c index 4914200e..0e966cd9 100644 --- a/modules/basic/basic-coretext.c +++ b/modules/basic/basic-coretext.c @@ -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); -- cgit v1.2.1