From 94a61d104ef36bdaec2f0015b264cde5ff87a217 Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Wed, 15 Feb 2012 14:33:22 -0500 Subject: [PATCH] made openpanel and savepanel open by default in the folder where the original patch was opened from. --- src/x_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x_gui.c b/src/x_gui.c index 810aed60c..411a11ff0 100644 --- a/src/x_gui.c +++ b/src/x_gui.c @@ -219,7 +219,7 @@ static void *openpanel_new( void) 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); } @@ -275,7 +275,7 @@ static void *savepanel_new( void) 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); } -- GitLab