aboutsummaryrefslogtreecommitdiff
path: root/scratcher~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-19 16:54:20 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commitd07ca5863be9e0ec4c60aae3b4f6023ec027cb71 (patch)
tree21e59c9f586a90e08d39ac971efb20092d29cc8b /scratcher~.c
parent3a49e3e03faad4e3dec1a63d7202d92036fb173d (diff)
quote the class.tcl file to be loaded using {} so spaces, special chars, etc. work in the path
svn path=/trunk/externals/unauthorized/; revision=15309
Diffstat (limited to 'scratcher~.c')
-rw-r--r--scratcher~.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scratcher~.c b/scratcher~.c
index d0a8c90..94de48c 100644
--- a/scratcher~.c
+++ b/scratcher~.c
@@ -814,7 +814,7 @@ void scratcher_tilde_setup(void)
class_addmethod(scratcher_class, (t_method)scratcher_reset, gensym("reset"), A_NULL);
class_addmethod(scratcher_class, (t_method)scratcher_dialog, gensym("dialog"), A_GIMME, A_NULL);
- sys_vgui("eval [read [open %s/%s.tcl]]\n",
+ sys_vgui("eval [read [open {%s/%s.tcl}]]\n",
scratcher_class->c_externdir->s_name,
scratcher_class->c_name->s_name);
}