From 59df200b8359e4c030e1f6f574c58ae04e169594 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 15 Nov 2014 16:35:29 +0000 Subject: Error in RISC OS form entry API changes. When the form entry changes were made the RISC OS implementation was updated but the loop that counts entries was using an incorrect loop iterator variable which was never incremented hence causing an infinite loop. --- riscos/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/window.c') 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) { -- cgit v1.2.3