summaryrefslogtreecommitdiff
path: root/menus.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1970-01-01 10:54:32 +0900
committerroot <root@avtech.domain.avtechpulse.com>1970-01-01 10:54:32 +0900
commitca44808e60b819465971c626c8ff5d90de90785a (patch)
tree21ded3279bdb737be49bfa12e528d15c335a9e70 /menus.c
parent6959b9dadb91c32c2582afe0b4abaa040af53504 (diff)
fixed submenu building typo
Diffstat (limited to 'menus.c')
-rw-r--r--menus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/menus.c b/menus.c
index a98d9c9..b990dbd 100644
--- a/menus.c
+++ b/menus.c
@@ -1354,7 +1354,7 @@ static void Submenu_Display(int change_selection)
int fixed_count;
Submenu_max_entry = number_of_fixed_ampl_points(channel) - 1;
for (fixed_count = 0; fixed_count < number_of_fixed_ampl_points(channel); ++fixed_count) {
- Submenu_Structure[i] = mode_ampl_fixed_points + fixed_count;
+ Submenu_Structure[fixed_count] = mode_ampl_fixed_points + fixed_count;
}
} else if (globals.ChannelState[channel].amp_mode==amp_mode_normal) {
Submenu_Numeric_Parameter=Show_amplitude+channel;