mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-24 12:51:47 +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++) {
|
for (i = 0; i < j; i++) {
|
||||||
id = fluid_sequencer_get_client_id(seq, i);
|
id = fluid_sequencer_get_client_id(seq, i);
|
||||||
name = fluid_sequencer_get_client_name(seq, id);
|
name = fluid_sequencer_get_client_name(seq, id);
|
||||||
if (strcmp(name, "fluidsynth") == 0) {
|
if (name && (strcmp(name, "fluidsynth") == 0)) {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue