This commit is contained in:
Behdad Esfahbod 2012-07-26 12:01:12 -04:00
parent 2e7f223054
commit 441d3bb7de
1 changed files with 2 additions and 2 deletions

View File

@ -260,8 +260,8 @@ _hb_coretext_shape (hb_font_t *font,
#define ALLOCATE_ARRAY(Type, name, len) \ #define ALLOCATE_ARRAY(Type, name, len) \
Type *name = (Type *) scratch; \ Type *name = (Type *) scratch; \
scratch += len * sizeof (name[0]); \ scratch += (len) * sizeof ((name)[0]); \
scratch_size -= len * sizeof (name[0]); scratch_size -= (len) * sizeof ((name)[0]);
const CGGlyph* glyphs = CTRunGetGlyphsPtr (run); const CGGlyph* glyphs = CTRunGetGlyphsPtr (run);
if (!glyphs) { if (!glyphs) {