git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed swf_FontEnumerate() prototype
[swftools.git]
/
lib
/
modules
/
swftext.c
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
8690989
..
1a9b59f
100644
(file)
--- 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
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;
{
int n;
TAG *t;
@@
-129,7
+129,7
@@
int swf_FontEnumerate(SWF * swf, void (*FontCallback) (void*, U16, U8 *), void*s
s[l] = 0;
}
s[l] = 0;
}
- (FontCallback) (self, id, s);
+ (FontCallback) (self, id, s, self);
swf_RestoreTagPos(t);
}
swf_RestoreTagPos(t);
}