git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
incorporate global font information into alignzones for individual chars
[swftools.git]
/
lib
/
modules
/
swfobject.c
diff --git
a/lib/modules/swfobject.c
b/lib/modules/swfobject.c
index
ef6903e
..
36b66d4
100644
(file)
--- a/
lib/modules/swfobject.c
+++ b/
lib/modules/swfobject.c
@@
-153,8
+153,10
@@
void swf_SetPlaceObject(TAG * t,SWFPLACEOBJECT* obj)
void swf_GetPlaceObject(TAG * tag,SWFPLACEOBJECT* obj)
{
- if(!tag) {
+ if(obj)
memset(obj, 0, sizeof(SWFPLACEOBJECT));
+
+ if(!tag) {
swf_GetMatrix(0, &obj->matrix);
swf_GetCXForm(0, &obj->cxform, 1);
//obj->internal = PF_CHAR|PF_MATRIX|PF_CXFORM;