From eaff678a1de813f56de1df9067100e4da3671802 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 6 Jun 2004 14:24:25 +0000 Subject: [PATCH] removed superfluous memset. --- lib/modules/swffont.c | 1 - 1 file changed, 1 deletion(-) 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)) { -- 1.7.10.4