summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/BrowserView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/BrowserView.m b/cocoa/BrowserView.m
index a0f7d67f5..41c43c0fa 100644
--- a/cocoa/BrowserView.m
+++ b/cocoa/BrowserView.m
@@ -517,7 +517,7 @@ static browser_mouse_state cocoa_mouse_flags_for_event( NSEvent *evt )
NSPoint point = [self convertMousePoint: event];
struct box *box = NULL;
- if ((box = box = box_object_at_point( browser->current_content, point.x, point.y )) != NULL) {
+ if ((box = box_object_at_point( browser->current_content, point.x, point.y )) != NULL) {
NSString *imageURL = [NSString stringWithUTF8String: content_get_url( box->object )];
[[popupMenu addItemWithTitle: NSLocalizedString( @"Open image in new tab", @"Context menu" )