From eec072b962b440e0f795a417cc2dbc224a36657a Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 31 Oct 2001 21:33:26 +0000 Subject: [PATCH] Fixed GetUrl. --- lib/modules/swfaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/modules/swfaction.c b/lib/modules/swfaction.c index 301c4c9..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_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) {} -- 1.7.10.4