mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
Remove chained self-assignment.
svn path=/trunk/netsurf/; revision=12751
This commit is contained in:
parent
f9478a4349
commit
4ef33d143d
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user