diff options
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 30e874074..d1f5ae9f5 100644 --- a/cocoa/BrowserView.m +++ b/cocoa/BrowserView.m @@ -521,7 +521,7 @@ static browser_mouse_state cocoa_mouse_flags_for_event( NSEvent *evt ) browser_window_get_contextual_content( browser, point.x, point.y, &cont); if (cont.object != NULL) { - NSString *imageURL = [NSString stringWithUTF8String: content_get_url( cont.object )]; + NSString *imageURL = [NSString stringWithUTF8String: nsurl_access(content_get_url( cont.object ))]; [[popupMenu addItemWithTitle: NSLocalizedString( @"Open image in new tab", @"Context menu" ) action: @selector(cmOpenURLInTab:) |