From 817841eab3a59286908e3447b3cf99423e8d5540 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 3 Oct 2011 16:49:55 +0000 Subject: Fix up for nsurl changes. Untested. svn path=/trunk/netsurf/; revision=12930 --- cocoa/PreferencesWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/PreferencesWindowController.m') diff --git a/cocoa/PreferencesWindowController.m b/cocoa/PreferencesWindowController.m index 2425589f9..adba8cf75 100644 --- a/cocoa/PreferencesWindowController.m +++ b/cocoa/PreferencesWindowController.m @@ -38,7 +38,7 @@ - (IBAction) useCurrentPageAsHomepage: (id) sender; { struct browser_window *bw = [[(NetSurfApp *)NSApp frontTab] browser]; - const char *url = content_get_url( bw->current_content ); + const char *url = nsurl_access(content_get_url( bw->current_content )); [self setHomepageURL: [NSString stringWithUTF8String: url]]; } -- cgit v1.2.3