From d07ca5863be9e0ec4c60aae3b4f6023ec027cb71 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 19 Sep 2011 16:54:20 +0000 Subject: 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 --- scrolllist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scrolllist.c') diff --git a/scrolllist.c b/scrolllist.c index c70bae3..476c4dc 100644 --- a/scrolllist.c +++ b/scrolllist.c @@ -1035,7 +1035,7 @@ void scrolllist_setup(void) class_setwidget(scrolllist_class, &scrolllist_widgetbehavior); - sys_vgui("eval [read [open %s/%s.tcl]]\n", + sys_vgui("eval [read [open {%s/%s.tcl}]]\n", scrolllist_class->c_externdir->s_name, scrolllist_class->c_name->s_name); } -- cgit v1.2.1