Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
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
c49446e5
Commit
c49446e5
authored
Feb 14, 2008
by
Miller Puckette
Browse files
bug fix (path dialog on MSW) and debugging message for matteo bug
parent
1ce8c7f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/m_obj.c
View file @
c49446e5
...
...
@@ -687,6 +687,8 @@ int inlet_getsignalindex(t_inlet *x)
{
int
n
=
0
;
t_inlet
*
i
;
if
(
x
->
i_symfrom
!=
&
s_signal
)
bug
(
"inlet_getsignalindex"
);
for
(
i
=
x
->
i_owner
->
ob_inlet
,
n
=
0
;
i
&&
i
!=
x
;
i
=
i
->
i_next
)
if
(
i
->
i_symfrom
==
&
s_signal
)
n
++
;
return
(
n
);
...
...
src/s_path.c
View file @
c49446e5
...
...
@@ -531,7 +531,7 @@ void glob_start_path_dialog(t_pd *dummy)
int
i
;
t_namelist
*
nl
;
sys_
v
gui
(
"
pd_
set pd_path
\"\"
\n
"
);
sys_gui
(
"
global pd_path;
set pd_path
{}
\n
"
);
for
(
nl
=
sys_searchpath
,
i
=
0
;
nl
;
nl
=
nl
->
nl_next
,
i
++
)
sys_vgui
(
"lappend pd_path
\"
%s
\"\n
"
,
nl
->
nl_string
);
sprintf
(
buf
,
"pdtk_path_dialog %%s %d %d
\n
"
,
sys_usestdpath
,
sys_verbose
);
...
...
@@ -561,7 +561,7 @@ void glob_start_startup_dialog(t_pd *dummy)
int
i
;
t_namelist
*
nl
;
sys_
v
gui
(
"
pd_
set pd_startup
\"\"
\n
"
);
sys_gui
(
"
global pd_startup;
set pd_startup
{}
\n
"
);
for
(
nl
=
sys_externlist
,
i
=
0
;
nl
;
nl
=
nl
->
nl_next
,
i
++
)
sys_vgui
(
"lappend pd_startup
\"
%s
\"\n
"
,
nl
->
nl_string
);
sprintf
(
buf
,
"pdtk_startup_dialog %%s %d
\"
%s
\"\n
"
,
sys_defeatrt
,
...
...
Write
Preview
Supports
Markdown
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