X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswftext.c;h=24bde3c36019250f2930186ae41c48713403c42c;hb=f52e48e2f55dd3a724da00a47552b7edba5f4dfa;hp=b559382fb45c8d8bb7ebcefe43b61c83f1bca3bb;hpb=b140c6821dd4f109d082b2217155535704ffbad5;p=swftools.git 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; }