summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-15 16:35:29 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-15 16:38:15 +0000
commit59df200b8359e4c030e1f6f574c58ae04e169594 (patch)
treed3c20d4c96626c82ea75e622f9ff6037a5c71a4b /riscos
parent33c4a0d221bd09192599dc20fc3dc3fc42af0ae0 (diff)
downloadnetsurf-59df200b8359e4c030e1f6f574c58ae04e169594.tar.gz
netsurf-59df200b8359e4c030e1f6f574c58ae04e169594.tar.bz2
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.
Diffstat (limited to 'riscos')
-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) {