Commit c49446e5 authored by Miller Puckette's avatar Miller Puckette
Browse files

bug fix (path dialog on MSW) and debugging message for matteo bug

parent 1ce8c7f3
......@@ -687,6 +687,8 @@ int inlet_getsignalindex(t_inlet *x)
{
int n = 0;
t_inlet *i;
if (x->i_symfrom != &s_signal)
bug("inlet_getsignalindex");
for (i = x->i_owner->ob_inlet, n = 0; i && i != x; i = i->i_next)
if (i->i_symfrom == &s_signal) n++;
return (n);
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment