git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed duplicate
[swftools.git]
/
lib
/
modules
/
swftext.c
diff --git
a/lib/modules/swftext.c
b/lib/modules/swftext.c
index
7853dd4
..
9297be9
100644
(file)
--- a/
lib/modules/swftext.c
+++ b/
lib/modules/swftext.c
@@
-145,7
+145,7
@@
int swf_FontExtract_DefineFontInfo(int id,SWFFONT * f,TAG * t)
f->encoding |= FONT_ENCODING_UNICODE;
if(t->id == ST_DEFINEFONTINFO2) {
f->encoding |= FONT_ENCODING_UNICODE;
if(t->id == ST_DEFINEFONTINFO2) {
- f->language = swf_GetU8();
+ f->language = swf_GetU8(t);
}
f->glyph2ascii = (U16*)malloc(sizeof(U16)*f->numchars);
}
f->glyph2ascii = (U16*)malloc(sizeof(U16)*f->numchars);