mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Rename p in load_pmod to preset_list
This commit is contained in:
parent
f1baa556a6
commit
9e7c108f4c
1 changed files with 5 additions and 5 deletions
|
@ -1285,17 +1285,17 @@ static int load_pbag(SFData *sf, int size)
|
|||
/* preset modulator loader */
|
||||
static int load_pmod(SFData *sf, int size)
|
||||
{
|
||||
fluid_list_t *p;
|
||||
fluid_list_t *preset_list;
|
||||
fluid_list_t *zone_list;
|
||||
fluid_list_t *mod_list;
|
||||
SFMod *m;
|
||||
|
||||
p = sf->preset;
|
||||
preset_list = sf->preset;
|
||||
|
||||
while(p)
|
||||
while(preset_list)
|
||||
{
|
||||
/* traverse through all presets */
|
||||
zone_list = ((SFPreset *)(p->data))->zone;
|
||||
zone_list = ((SFPreset *)(preset_list->data))->zone;
|
||||
|
||||
while(zone_list)
|
||||
{
|
||||
|
@ -1329,7 +1329,7 @@ static int load_pmod(SFData *sf, int size)
|
|||
zone_list = fluid_list_next(zone_list);
|
||||
}
|
||||
|
||||
p = fluid_list_next(p);
|
||||
preset_list = fluid_list_next(preset_list);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue