X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmodules%2Fswfaction.c;h=d96dcb9792d98e92a366efae377af45878b63b45;hb=e29229a3ea9992a5422f03846bab43035463e14c;hp=d70d6778933740c3a3e7398504ac51f1bdccb7a3;hpb=939dce305129b17c7207d5fa606e7e5ebd8bad60;p=swftools.git diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index d70d677..d96dcb9 100644 --- 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_GOTOLABEL, ptr, strlen(ptr)); + strcpy(&ptr[l1+1], label); + swf_AddActionTAG(ACTION_GETURL, ptr, l1+l2+2); } //TODO: void action_DefineFunction(U8*data, int len) {}