diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-05 19:14:46 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-10-05 19:14:46 +0000 |
commit | 6173bb0e6c3bf51cd463f7bc4f725429d9087b2b (patch) | |
tree | de3e013699742960b97ee4a5eda240908d0ea8e6 /riscos/url_complete.c | |
parent | 195c1ea3193f169c6825eca1fc6207e138126e98 (diff) | |
download | netsurf-6173bb0e6c3bf51cd463f7bc4f725429d9087b2b.tar.gz netsurf-6173bb0e6c3bf51cd463f7bc4f725429d9087b2b.tar.bz2 |
Merge treeview-redux to trunk
svn path=/trunk/netsurf/; revision=10865
Diffstat (limited to 'riscos/url_complete.c')
-rw-r--r-- | riscos/url_complete.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/riscos/url_complete.c b/riscos/url_complete.c index 580417a16..9649c5604 100644 --- a/riscos/url_complete.c +++ b/riscos/url_complete.c @@ -149,7 +149,7 @@ bool ro_gui_url_complete_keypress(struct gui_window *g, uint32_t key) if (url_complete_matches) { for (i = 0; i < MAXIMUM_VISIBLE_LINES; i++) { if (i < lines) { - url_complete_redraw[i] = + url_complete_redraw[i] = url_complete_matches[i]; } else { url_complete_redraw[i] = NULL; @@ -726,15 +726,13 @@ bool ro_gui_url_complete_click(wimp_pointer *pointer) ICON_TOOLBAR_URL, url_complete_matches[ url_complete_matches_selection], true); - global_history_add_recent(url_complete_matches[ - url_complete_matches_selection]); /** \todo The interaction of components here is hideous */ /* Do NOT make any attempt to use any of the global url * completion variables after this call to browser_window_go. * They will be invalidated by (at least): * + gui_window_set_url - * + destruction of (i)frames within the current page + * + destruction of (i)frames within the current page * Any attempt to use them will probably result in a crash. */ |