From 4ef33d143db6bd7273daba177dd08ec826f72eca Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 6 Sep 2011 12:32:38 +0000 Subject: Remove chained self-assignment. svn path=/trunk/netsurf/; revision=12751 --- cocoa/BrowserView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') 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" ) -- cgit v1.2.3