X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswftext.c;h=1a9b59fc66e3821ef1ea8f563ce6bf428476793c;hb=18f4b1c670a1c55cdb33daa77fb2085454a5a125;hp=869098909a6d52f173d058d1953df586a7661c29;hpb=1525f916430f011f53d713debcee1bcf28b6ee8b;p=swftools.git diff --git a/lib/modules/swftext.c b/lib/modules/swftext.c index 8690989..1a9b59f 100644 --- a/lib/modules/swftext.c +++ b/lib/modules/swftext.c @@ -101,7 +101,7 @@ int swf_FontIsBold(SWFFONT * f) static const int WRITEFONTID = 0x4e46; // font id for WriteFont and ReadFont -int swf_FontEnumerate(SWF * swf, void (*FontCallback) (void*, U16, U8 *), void*self) +int swf_FontEnumerate(SWF * swf, void (*FontCallback) (void*, U16, U8 *, void*self), void*self) { int n; TAG *t; @@ -129,7 +129,7 @@ int swf_FontEnumerate(SWF * swf, void (*FontCallback) (void*, U16, U8 *), void*s s[l] = 0; } - (FontCallback) (self, id, s); + (FontCallback) (self, id, s, self); swf_RestoreTagPos(t); }