From d9c36e82b736ea22d3ae14c9c9f085a069991407 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 23 Nov 2004 21:20:44 +0000 Subject: [PATCH] added self pointer to callback function. --- src/swfstrings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/swfstrings.c b/src/swfstrings.c index 9e9261d..44a0432 100644 --- a/src/swfstrings.c +++ b/src/swfstrings.c @@ -62,7 +62,7 @@ int args_callback_command(char*name,char*val) SWF swf; -void fontcallback(U16 id,U8 * name) +void fontcallback(void*self,U16 id,U8 * name) { LPSWFFONT font; LPTAG t; @@ -94,7 +94,7 @@ int main (int argc,char ** argv) } else { close(f); - swf_FontEnumerate(&swf,&fontcallback); + swf_FontEnumerate(&swf,&fontcallback,0); swf_FreeTags(&swf); } } else { -- 1.7.10.4