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
David MacDonald
purr-data
Commits
65b4a650
Commit
65b4a650
authored
Jun 27, 2017
by
Jonathan Wilkes
Browse files
fix crasher in [pdinfo]
parent
f04efd61
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/x_interface.c
View file @
65b4a650
...
...
@@ -658,7 +658,7 @@ void pdinfo_audio_listdevs(t_pdinfo *x, t_symbol *s, int argc, t_atom *argv)
outdevlist
,
&
noutdevs
,
&
canmulti
,
&
cancallback
,
MAXNDEV
,
DEVDESCSIZE
);
t_atom
at
[
4
];
t_atom
at
[
MAXNDEV
];
if
(
s
==
gensym
(
"audio-multidev-support"
))
{
SETFLOAT
(
at
,
canmulti
);
...
...
@@ -739,7 +739,7 @@ void pdinfo_midi_listdevs(t_pdinfo *x, t_symbol *s, int argc, t_atom *argv)
sys_get_midi_devs
(
indevlist
,
&
nindevs
,
outdevlist
,
&
noutdevs
,
MAXNDEV
,
DEVDESCSIZE
);
t_atom
at
[
4
];
t_atom
at
[
MAXNDEV
];
if
(
s
==
gensym
(
"midi-indevlist"
))
{
for
(
i
=
0
;
i
<
nindevs
;
i
++
)
...
...
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