From c4420064e209e065d01510830a0cef9e3305f921 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sun, 16 Mar 2008 19:12:49 +0000 Subject: 0.41-2 release svn path=/trunk/; revision=9589 --- pd/src/s_path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pd/src/s_path.c') diff --git a/pd/src/s_path.c b/pd/src/s_path.c index dbc28316..a3b812f9 100644 --- a/pd/src/s_path.c +++ b/pd/src/s_path.c @@ -531,7 +531,7 @@ void glob_start_path_dialog(t_pd *dummy) int i; t_namelist *nl; - sys_vgui("pd_set pd_path \"\"\n"); + sys_gui("global pd_path; set pd_path {}\n"); for (nl = sys_searchpath, i = 0; nl; nl = nl->nl_next, i++) sys_vgui("lappend pd_path \"%s\"\n", nl->nl_string); sprintf(buf, "pdtk_path_dialog %%s %d %d\n", sys_usestdpath, sys_verbose); @@ -561,7 +561,7 @@ void glob_start_startup_dialog(t_pd *dummy) int i; t_namelist *nl; - sys_vgui("pd_set pd_startup \"\"\n"); + sys_gui("global pd_startup; set pd_startup {}\n"); for (nl = sys_externlist, i = 0; nl; nl = nl->nl_next, i++) sys_vgui("lappend pd_startup \"%s\"\n", nl->nl_string); sprintf(buf, "pdtk_startup_dialog %%s %d \"%s\"\n", sys_defeatrt, -- cgit v1.2.1