mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 16:49:41 +02:00
Use the right array index
This commit is contained in:
parent
96585b3377
commit
f0ab978dbf
@ -362,7 +362,7 @@ void EffectToneGen::PopulateOrExchange(ShuttleGui & S)
|
||||
|
||||
S.StartHorizontalLay(wxLEFT, 50);
|
||||
{
|
||||
FloatingPointValidator<double> vldEndAmp(6, &mAmplitude[1], NUM_VAL_NO_TRAILING_ZEROES);
|
||||
FloatingPointValidator<double> vldEndAmp(6, &mAmplitude[0], NUM_VAL_NO_TRAILING_ZEROES);
|
||||
vldEndAmp.SetRange(MIN_EndAmp, MAX_EndAmp);
|
||||
t = S.AddTextBox(wxT(""), wxT(""), 12);
|
||||
t->SetName(_("Amplitude End"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user