diff --git a/dsp/cmDspPreset.c b/dsp/cmDspPreset.c index d2e7fe0..d92e08b 100644 --- a/dsp/cmDspPreset.c +++ b/dsp/cmDspPreset.c @@ -744,6 +744,7 @@ unsigned _cmDspPresetPresetCount( cmDspPresetMgr_t* p, unsigned groupIdx if((gp = _cmDspPresetGroupFromIndex(p,groupIdx)) == NULL ) return 0; + pp = gp->list; for(; pp!=NULL; pp=pp->link) ++cnt;