aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 27e766d..9bd369c 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -3777,7 +3777,7 @@ u32 menu(u16 *screen)
if (next_option_num > current_menu->num_options)
break;
- struct _MENU_OPTION_TYPE *next_option = current_menu->options + current_option_num;
+ struct _MENU_OPTION_TYPE *next_option = current_menu->options + next_option_num;
if(next_option -> option_type & HIDEN_TYPE)
break;