1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 23:19:28 +02:00

Make NoiseReduction.cpp compilable with ADVANCED_SETTINGS

This commit is contained in:
Paul Licameli 2019-03-10 16:21:16 -04:00
parent da33daf197
commit 07a42e8e19

View File

@ -1809,7 +1809,7 @@ void EffectNoiseReduction::Dialog::PopulateOrExchange(ShuttleGui & S)
S.SetStretchyCol(2);
{
for (int id = END_OF_BASIC_SLIDERS; id < END_OF_ADVANCED_SLIDERS; id += 2) {
const ControlInfo &info = controlInfo[(id - FIRST_SLIDER) / 2];
const ControlInfo &info = controlInfo()[(id - FIRST_SLIDER) / 2];
info.CreateControls(id, S);
}
}