mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
parent
2cc0d0ea17
commit
d08853c685
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ static int get_fluidsynth_dest(fluid_sequencer_t* seq)
|
|||
for (i = 0; i < j; i++) {
|
||||
id = fluid_sequencer_get_client_id(seq, i);
|
||||
name = fluid_sequencer_get_client_name(seq, id);
|
||||
if (strcmp(name, "fluidsynth") == 0) {
|
||||
if (name && (strcmp(name, "fluidsynth") == 0)) {
|
||||
return id;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue