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:
e6b4cee
)
added self pointer to callback function.
author
kramm
<kramm>
Tue, 23 Nov 2004 21:20:44 +0000
(21:20 +0000)
committer
kramm
<kramm>
Tue, 23 Nov 2004 21:20:44 +0000
(21:20 +0000)
src/swfstrings.c
patch
|
blob
|
history
diff --git
a/src/swfstrings.c
b/src/swfstrings.c
index
9e9261d
..
44a0432
100644
(file)
--- 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 {