From: kramm Date: Sun, 6 Jun 2004 14:24:25 +0000 (+0000) Subject: removed superfluous memset. X-Git-Tag: release-0-6-0~136 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=eaff678a1de813f56de1df9067100e4da3671802;p=swftools.git removed superfluous memset. --- diff --git a/lib/modules/swffont.c b/lib/modules/swffont.c index e24d880..233b190 100644 --- a/lib/modules/swffont.c +++ b/lib/modules/swffont.c @@ -123,7 +123,6 @@ SWFFONT* swf_LoadTrueTypeFont(char*filename) font->glyph2ascii = malloc(face->num_glyphs*sizeof(U16)); memset(font->glyph2ascii, 0, face->num_glyphs*sizeof(U16)); font->maxascii = 0; - memset(font->ascii2glyph, -1, font->maxascii*sizeof(int)); font->glyph = malloc(face->num_glyphs*sizeof(SWFGLYPH)); memset(font->glyph, 0, face->num_glyphs*sizeof(U16)); if(FT_HAS_GLYPH_NAMES(face)) {