Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
b051b612
Commit
b051b612
authored
May 04, 2009
by
Miller Puckette
Browse files
minor max/pd compatibility fix to pd~
parent
9bdc905e
Changes
1
Hide whitespace changes
Inline
Side-by-side
extra/pd~/pd~.c
View file @
b051b612
...
...
@@ -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_SYM
BOL
)
{
t_symbol
*
s
=
argv
[
1
].
a_w
.
w_sym
;
t_symbol
*
s
ym
=
argv
[
1
].
a_w
.
w_sym
bol
;
#ifdef MSP
if
(
s
->
s_name
[
0
]
==
':'
)
s
=
gensym
(
s
->
s_name
+
1
);
if
(
s
ym
->
s_name
[
0
]
==
':'
)
s
ym
=
gensym
(
s
->
s_name
+
1
);
#endif
x
->
x_pddir
=
s
;
x
->
x_pddir
=
s
ym
;
}
else
ERROR
"pd~ pddir: needs symbol argument"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment