[pango] [coretext] Minor fix



commit 8441321866247a0a6c2f4b11a3c3863005bfba44
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sun Aug 10 19:23:29 2014 -0400

    [coretext] Minor fix

 modules/basic/basic-coretext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/basic/basic-coretext.c b/modules/basic/basic-coretext.c
index 4914200..0e966cd 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]