From 3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 8 Feb 2014 22:43:54 +0000 Subject: Simplify local history interface. --- cocoa/BrowserViewController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cocoa/BrowserViewController.m') diff --git a/cocoa/BrowserViewController.m b/cocoa/BrowserViewController.m index 5cc3d4c20..7c77b7c7f 100644 --- a/cocoa/BrowserViewController.m +++ b/cocoa/BrowserViewController.m @@ -118,7 +118,7 @@ - (IBAction) goBack: (id) sender; { if (browser && history_back_available( browser->history )) { - history_back(browser, browser->history); + history_back(browser->history, false); [self updateBackForward]; } } @@ -126,7 +126,7 @@ - (IBAction) goForward: (id) sender; { if (browser && history_forward_available( browser->history )) { - history_forward(browser, browser->history); + history_forward(browser->history, false); [self updateBackForward]; } } @@ -316,7 +316,7 @@ static bool history_add_menu_item_cb( const struct history *history, int x0, int - (IBAction) historyItemSelected: (id) sender; { struct history_entry *entry = [[sender representedObject] pointerValue]; - history_go( browser, browser->history, entry, false ); + history_go( browser->history, entry, false ); [self updateBackForward]; } -- cgit v1.2.3