diff options
Diffstat (limited to 'riscos/window.c')
-rw-r--r-- | riscos/window.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c index 5f437c2c1..322295995 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -499,11 +499,13 @@ void ro_gui_toolbar_click(gui_window* g, wimp_pointer* pointer) { if (pointer->i == ro_theme_icon(current_theme, THEME_TOOLBAR, "TOOLBAR_BACK")) { - browser_window_back(g->data.browser.bw); + ro_gui_history_open(g->data.browser.bw, g->data.browser.bw->history_entry, + pointer->pos.x - 200, pointer->pos.y + 100); } else if (pointer->i == ro_theme_icon(current_theme, THEME_TOOLBAR, "TOOLBAR_FORWARD")) { - browser_window_forward(g->data.browser.bw); + ro_gui_history_open(g->data.browser.bw, g->data.browser.bw->history_entry, + pointer->pos.x - 200, pointer->pos.y + 100); } else if (pointer->i == ro_theme_icon(current_theme, THEME_TOOLBAR, "TOOLBAR_RELOAD")) { |