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

minor max/pd compatibility fix to pd~

parent 9bdc905e
......@@ -437,14 +437,14 @@ static void pd_tilde_pdtilde(t_pd_tilde *x, t_symbol *s,
}
else if (sel == gensym("pddir"))
{
if ((argc > 1) && argv[1].a_type == A_SYM)
if ((argc > 1) && argv[1].a_type == A_SYMBOL)
{
t_symbol *s = argv[1].a_w.w_sym;
t_symbol *sym = argv[1].a_w.w_symbol;
#ifdef MSP
if (s->s_name[0] == ':')
s = gensym(s->s_name+1);
if (sym->s_name[0] == ':')
sym = gensym(s->s_name+1);
#endif
x->x_pddir = s;
x->x_pddir = sym;
}
else ERROR "pd~ pddir: needs symbol argument");
}
......
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