Commit 94a61d10 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

made openpanel and savepanel open by default in the folder where the original...

made openpanel and savepanel open by default in the folder where the original patch was opened from.
parent 7a263f3d
...@@ -219,7 +219,7 @@ static void *openpanel_new( void) ...@@ -219,7 +219,7 @@ static void *openpanel_new( void)
static void openpanel_symbol(t_openpanel *x, t_symbol *s) static void openpanel_symbol(t_openpanel *x, t_symbol *s)
{ {
char *path = (s && s->s_name) ? s->s_name : "\"\""; char *path = (s && s->s_name) ? s->s_name : "$pd_opendir";
sys_vgui("pdtk_openpanel {%s} {%s}\n", x->x_s->s_name, path); sys_vgui("pdtk_openpanel {%s} {%s}\n", x->x_s->s_name, path);
} }
...@@ -275,7 +275,7 @@ static void *savepanel_new( void) ...@@ -275,7 +275,7 @@ static void *savepanel_new( void)
static void savepanel_symbol(t_savepanel *x, t_symbol *s) static void savepanel_symbol(t_savepanel *x, t_symbol *s)
{ {
char *path = (s && s->s_name) ? s->s_name : "\"\""; char *path = (s && s->s_name) ? s->s_name : "$pd_opendir";
sys_vgui("pdtk_savepanel {%s} {%s}\n", x->x_s->s_name, path); sys_vgui("pdtk_savepanel {%s} {%s}\n", x->x_s->s_name, path);
} }
......
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