diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-08 22:43:54 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-02-08 22:43:54 +0000 |
commit | 3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf (patch) | |
tree | 43fb131d4c23d6d9f177c135291c4ad8ea102953 /cocoa/HistoryView.m | |
parent | 2cd2e5b0541e7067c908e88f446b7cc56095253b (diff) | |
download | netsurf-3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf.tar.gz netsurf-3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf.tar.bz2 |
Simplify local history interface.
Diffstat (limited to 'cocoa/HistoryView.m')
-rw-r--r-- | cocoa/HistoryView.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/HistoryView.m b/cocoa/HistoryView.m index 45f7facbf..c7181650b 100644 --- a/cocoa/HistoryView.m +++ b/cocoa/HistoryView.m @@ -72,7 +72,7 @@ { const NSPoint location = [self convertPoint: [theEvent locationInWindow] fromView: nil]; const bool newWindow = [theEvent modifierFlags] & NSCommandKeyMask; - if (history_click( browser, browser->history, + if (history_click( browser->history, cocoa_pt_to_px( location.x ), cocoa_pt_to_px( location.y ), newWindow )) { [browserView setHistoryVisible: NO]; |