mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
fix uninitialized member access
of voice_zone->range.ignore; introduced in #370
This commit is contained in:
parent
34912586f0
commit
8c2ef30038
1 changed files with 1 additions and 0 deletions
|
@ -1057,6 +1057,7 @@ static int fluid_preset_zone_create_voice_zones(fluid_preset_zone_t* preset_zone
|
|||
voice_zone->range.keyhi = (prange->keyhi < irange->keyhi) ? prange->keyhi : irange->keyhi;
|
||||
voice_zone->range.vello = (prange->vello > irange->vello) ? prange->vello : irange->vello;
|
||||
voice_zone->range.velhi = (prange->velhi < irange->velhi) ? prange->velhi : irange->velhi;
|
||||
voice_zone->range.ignore = FALSE;
|
||||
|
||||
preset_zone->voice_zone = fluid_list_append(preset_zone->voice_zone, voice_zone);
|
||||
|
||||
|
|
Loading…
Reference in a new issue