mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-05-31 09:11:10 +00:00
optimize fluid_synth_remove_default_mod()
This commit is contained in:
parent
c4c05533bb
commit
b9421409aa
1 changed files with 1 additions and 1 deletions
|
@ -1438,7 +1438,7 @@ fluid_synth_remove_default_mod(fluid_synth_t *synth, const fluid_mod_t *mod)
|
||||||
{
|
{
|
||||||
if(synth->default_mod == default_mod)
|
if(synth->default_mod == default_mod)
|
||||||
{
|
{
|
||||||
synth->default_mod = synth->default_mod->next;
|
synth->default_mod = default_mod->next;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue