OSDN Git Service
(root)
/
swfed
/
swfed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbc7af
)
ActionPush Data ¤Î Float ɽ¼¨Âбþ (¼Â¸³Åª¤Ë)
author
Yoshihiro Yamazaki
<yoya@awm.jp>
Mon, 27 Jun 2011 11:17:17 +0000
(20:17 +0900)
committer
Yoshihiro Yamazaki
<yoya@awm.jp>
Mon, 27 Jun 2011 11:17:17 +0000
(20:17 +0900)
src/swf_action.c
patch
|
blob
|
history
diff --git
a/src/swf_action.c
b/src/swf_action.c
index
58abece
..
ec9a235
100644
(file)
--- a/
src/swf_action.c
+++ b/
src/swf_action.c
@@
-303,7
+303,7
@@
swf_action_data_print(unsigned char *action_data, unsigned short action_data_len
result += strlen((char*) data) + 1; // text + \0
break;
case 0x01: // Float
- printf("(Float)
XXX");
+ printf("(Float)
%f"GetFloatIEEE(data))
result += 4;
break;
case 0x02: // NULL
@@
-321,7
+321,7
@@
swf_action_data_print(unsigned char *action_data, unsigned short action_data_len
result += 1;
break;
case 0x06: // Double
- printf("(Double)%
f
", GetDoubleIEEE(data));
+ printf("(Double)%
d
", GetDoubleIEEE(data));
result += 8;
break;
case 0x07: // Integer