X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fmodules%2Fswftext.c;h=24bde3c36019250f2930186ae41c48713403c42c;hp=b559382fb45c8d8bb7ebcefe43b61c83f1bca3bb;hb=f52e48e2f55dd3a724da00a47552b7edba5f4dfa;hpb=cbcb36e38ef35e0a1b950fa8cfa3d90e5aeaa19b diff --git a/lib/modules/swftext.c b/lib/modules/swftext.c index b559382..24bde3c 100644 --- a/lib/modules/swftext.c +++ b/lib/modules/swftext.c @@ -815,6 +815,7 @@ int swf_FontInitUsage(SWFFONT * f) } f->use = rfx_alloc(sizeof(FONTUSAGE)); f->use->is_reduced = 0; + f->use->used_glyphs = 0; f->use->chars = rfx_calloc(sizeof(f->use->chars[0]) * f->numchars); return 0; }