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
a3744864
Commit
a3744864
authored
Aug 12, 2017
by
Jonathan Wilkes
Browse files
check for empty symbol instead of NULL symbol arg, remove unnecessary static global init
parent
3cf58d70
Changes
1
Hide whitespace changes
Inline
Side-by-side
externals/plugin~/plugin~.c
View file @
a3744864
...
...
@@ -59,7 +59,7 @@ static void plugin_tilde_poplocale (void) {}
static
int
plugin_tilde_have_plugin
(
Pd_Plugin_Tilde
*
x
);
static
t_class
*
plugin_tilde_class
=
NULL
;
static
t_class
*
plugin_tilde_class
;
void
plugin_tilde_setup
(
void
)
{
...
...
@@ -109,7 +109,7 @@ static void* plugin_tilde_new (t_symbol* s_name, t_symbol* s_lib_name)
x
->
dsp_vec_length
=
0
;
x
->
dsp_active
=
0
;
if
(
s_name
->
s_name
!=
NULL
)
{
if
(
s_name
!=
&
s_
)
{
if
(
s_lib_name
->
s_name
==
NULL
||
strlen
(
s_lib_name
->
s_name
)
==
0
)
x
->
plugin_library_filename
=
plugin_tilde_search_plugin
(
x
,
s_name
->
s_name
);
else
...
...
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