git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3e9b46
)
removed superfluous memset.
author
kramm
<kramm>
Sun, 6 Jun 2004 14:24:25 +0000
(14:24 +0000)
committer
kramm
<kramm>
Sun, 6 Jun 2004 14:24:25 +0000
(14:24 +0000)
lib/modules/swffont.c
patch
|
blob
|
history
diff --git
a/lib/modules/swffont.c
b/lib/modules/swffont.c
index
e24d880
..
233b190
100644
(file)
--- 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)) {