summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-08-10 19:23:29 -0400
committerBehdad Esfahbod <behdad@behdad.org>2014-08-10 19:23:29 -0400
commit8441321866247a0a6c2f4b11a3c3863005bfba44 (patch)
treefe0ebafa82d14e404cb0143dfaa81d04f4b53888 /modules
parent729e7678cd6a691e6a423c716bda55177c540de7 (diff)
downloadpango-8441321866247a0a6c2f4b11a3c3863005bfba44.tar.gz
[coretext] Minor fix
Diffstat (limited to 'modules')
-rw-r--r--modules/basic/basic-coretext.c2
1 files changed, 1 insertions, 1 deletions
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);