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/HistoryView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/HistoryView.m') 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]; -- cgit v1.2.3