mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-01 00:21:14 +00:00
Fix "misleading-indentation" warning
This commit is contained in:
parent
16737e8fa3
commit
7d9f980fc2
1 changed files with 3 additions and 2 deletions
|
@ -1617,10 +1617,11 @@ fluid_voice_get_overflow_prio(fluid_voice_t* voice,
|
|||
if (voice->has_noteoff) {
|
||||
// FIXME: Should take into account where on the envelope we are...?
|
||||
}
|
||||
if (a < 0.1)
|
||||
if (a < 0.1) {
|
||||
a = 0.1; // Avoid div by zero
|
||||
this_voice_prio += score->volume / a;
|
||||
}
|
||||
this_voice_prio += score->volume / a;
|
||||
}
|
||||
|
||||
return this_voice_prio;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue