summaryrefslogtreecommitdiff
path: root/framebuffer
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-02-08 22:43:54 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-02-08 22:43:54 +0000
commit3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf (patch)
tree43fb131d4c23d6d9f177c135291c4ad8ea102953 /framebuffer
parent2cd2e5b0541e7067c908e88f446b7cc56095253b (diff)
downloadnetsurf-3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf.tar.gz
netsurf-3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf.tar.bz2
Simplify local history interface.
Diffstat (limited to 'framebuffer')
-rw-r--r--framebuffer/gui.c4
-rw-r--r--framebuffer/localhistory.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index b9fbdfa7b..2cceba9c5 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -989,7 +989,7 @@ fb_leftarrow_click(fbtk_widget_t *widget, fbtk_callback_info *cbi)
return 0;
if (history_back_available(bw->history))
- history_back(bw, bw->history);
+ history_back(bw->history, false);
fb_update_back_forward(gw);
@@ -1007,7 +1007,7 @@ fb_rightarrow_click(fbtk_widget_t *widget, fbtk_callback_info *cbi)
return 0;
if (history_forward_available(bw->history))
- history_forward(bw, bw->history);
+ history_forward(bw->history, false);
fb_update_back_forward(gw);
return 1;
diff --git a/framebuffer/localhistory.c b/framebuffer/localhistory.c
index d4820980f..bb2736dd9 100644
--- a/framebuffer/localhistory.c
+++ b/framebuffer/localhistory.c
@@ -97,7 +97,7 @@ localhistory_click(fbtk_widget_t *widget, fbtk_callback_info *cbi)
if (cbi->event->type != NSFB_EVENT_KEY_UP)
return 0;
- history_click(glh->bw, glh->bw->history, cbi->x, cbi->y, false);
+ history_click(glh->bw->history, cbi->x, cbi->y, false);
fbtk_set_mapping(glh->window, false);