git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3876a91
)
Fixed GetUrl.
author
kramm
<kramm>
Wed, 31 Oct 2001 21:33:26 +0000
(21:33 +0000)
committer
kramm
<kramm>
Wed, 31 Oct 2001 21:33:26 +0000
(21:33 +0000)
lib/modules/swfaction.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfaction.c
b/lib/modules/swfaction.c
index
301c4c9
..
d96dcb9
100644
(file)
--- a/
lib/modules/swfaction.c
+++ b/
lib/modules/swfaction.c
@@
-745,8
+745,8
@@
void action_GetUrl(char* url, char* label)
int l2= strlen(label);
char*ptr = malloc(l1+l2+2);
strcpy(ptr, url);
- strcat(&ptr[l2+1], label);
- swf_AddActionTAG(ACTION_GETURL, ptr, strlen(ptr));
+ strcpy(&ptr[l1+1], label);
+ swf_AddActionTAG(ACTION_GETURL, ptr, l1+l2+2);
}
//TODO:
void action_DefineFunction(U8*data, int len) {}