diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-19 16:54:20 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-09-19 16:54:20 +0000 |
commit | 0155aff44fbccfda1edb1c555bd58448cb468ed5 (patch) | |
tree | 6c87b824d7439959e36952c293ba8f44504c4c27 | |
parent | 82f0a572edbbcf312646408f5cd4ac5b817f6a86 (diff) |
quote the class.tcl file to be loaded using {} so spaces, special chars, etc. work in the path
svn path=/trunk/externals/hcs/; revision=15309
-rw-r--r-- | cursor.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -161,8 +161,8 @@ void cursor_setup(void) class_addmethod(cursor_class, (t_method)cursor_setmethod, gensym("editmode_disconnect"), A_GIMME, 0); - /* TODO should this use t_class->c_name? */ - sys_vgui("eval [read [open %s/cursor.tcl]]\n", - cursor_class->c_externdir->s_name); + sys_vgui("eval [read [open {%s/%s.tcl}]]\n", + cursor_class->c_externdir->s_name, + cursor_class->c_name->s_name); sys_vgui("::hcs::cursor::setup %s\n", cursor_receive_symbol->s_name); } |