diff options
-rw-r--r-- | openpatch.c | 2 | ||||
-rw-r--r-- | strippath.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openpatch.c b/openpatch.c index 86b7b7d..ee72236 100644 --- a/openpatch.c +++ b/openpatch.c @@ -56,7 +56,7 @@ static void openpatch_symbol(t_openpatch *x, t_symbol *s) } else { strcpy (filename,s->s_name); - sprintf (path,x->x_path->s_name); + strcpy (path,x->x_path->s_name); } post ("path:%s , name:%s",path,filename); glob_evalfile(0,gensym(filename),gensym(path)); diff --git a/strippath.c b/strippath.c index 8af95fe..e192aff 100644 --- a/strippath.c +++ b/strippath.c @@ -49,7 +49,7 @@ static void strippath_symbol(t_strippath *x, t_symbol *s) } else { strcpy (filename,s->s_name); - sprintf (path,x->x_path->s_name); + strcpy (path,x->x_path->s_name); } outlet_symbol(x->x_obj.ob_outlet,gensym(filename)); // post ("path:%s , name:%s",path,filename); |