summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c2
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) {