diff options
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/window.c b/riscos/window.c index abb249245..f6ebf14d4 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -4585,7 +4585,7 @@ bool ro_gui_window_prepare_form_select_menu(struct gui_window *g, option = form_select_get_option(control, entries); while (option != NULL) { entries++; - option = form_select_get_option(control, item); + option = form_select_get_option(control, entries); } if (entries == 0) { |