diff options
Diffstat (limited to 'riscos/url_complete.c')
-rw-r--r-- | riscos/url_complete.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/riscos/url_complete.c b/riscos/url_complete.c index 72a1e4071..cd7e932f5 100644 --- a/riscos/url_complete.c +++ b/riscos/url_complete.c @@ -177,7 +177,10 @@ bool ro_gui_url_complete_keypress(struct gui_window *g, int key) /* find matches */ url_complete_memory_exhausted = false; - urldb_iterate_partial(match_url, url_complete_callback); + if (strlen(match_url) == 0) + urldb_iterate_entries(url_complete_callback); + else + urldb_iterate_partial(match_url, url_complete_callback); if (url_complete_memory_exhausted) { ro_gui_url_complete_close(NULL, 0); return false; |