git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make setFixed() work for negative numbers, too
[swftools.git]
/
lib
/
python
/
tag.c
diff --git
a/lib/python/tag.c
b/lib/python/tag.c
index
6b9bdda
..
bae858d
100644
(file)
--- a/
lib/python/tag.c
+++ b/
lib/python/tag.c
@@
-199,7
+199,7
@@
static PyObject* tag_getattr(PyObject * self, char* a)
if(!strcmp(a, "data")) {
if(!fillTAG(self))
return 0;
if(!strcmp(a, "data")) {
if(!fillTAG(self))
return 0;
- return Py_BuildValue("s#", tag->data, tag->len);
+ return Py_BuildValue("s#", tag->internals.tag->data, tag->internals.tag->len);
}
if(tag->internals.getattr) {
PyObject* ret = tag->internals.getattr(&tag->internals, a);
}
if(tag->internals.getattr) {
PyObject* ret = tag->internals.getattr(&tag->internals, a);