diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-06 12:32:38 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-06 12:32:38 +0000 |
commit | 4ef33d143db6bd7273daba177dd08ec826f72eca (patch) | |
tree | e5501db3420bf932862d66d6cad359031f741f65 /cocoa/BrowserView.m | |
parent | f9478a434940bb32e99e6b9150acee6367e80325 (diff) | |
download | netsurf-4ef33d143db6bd7273daba177dd08ec826f72eca.tar.gz netsurf-4ef33d143db6bd7273daba177dd08ec826f72eca.tar.bz2 |
Remove chained self-assignment.
svn path=/trunk/netsurf/; revision=12751
Diffstat (limited to 'cocoa/BrowserView.m')
-rw-r--r-- | cocoa/BrowserView.m | 2 |
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" ) |