aboutsummaryrefslogtreecommitdiff
path: root/k_cext_generatecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'k_cext_generatecode.c')
-rw-r--r--k_cext_generatecode.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/k_cext_generatecode.c b/k_cext_generatecode.c
index 3ab2fa9..bd7304b 100644
--- a/k_cext_generatecode.c
+++ b/k_cext_generatecode.c
@@ -205,6 +205,17 @@ static void k_cext_gen_mainfunccode(t_k_cext *x,int argc, t_atom* argv,int i, st
pos[0]='\"';
pos[1]=' ';
}
+
+ if(strstr(string,"SEND(")!=NULL){
+ char *pos=strstr(string,"SEND(")+3;
+ int len;
+ pos[0]='(';
+ pos[1]='\"';
+
+ len=strlen(string);
+ string[len]='\"';
+ string[len+1]=0;
+ }
if(!strcmp(".",string)){
sprintf(string," ");