summaryrefslogtreecommitdiff
path: root/cocoa/PreferencesWindowController.m
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/PreferencesWindowController.m')
-rw-r--r--cocoa/PreferencesWindowController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/PreferencesWindowController.m b/cocoa/PreferencesWindowController.m
index 2dbc5e09c..8ee4580f5 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 = nsurl_access(content_get_url( bw->current_content ));
+ const char *url = nsurl_access(hlcache_handle_get_url( bw->current_content ));
[self setHomepageURL: [NSString stringWithUTF8String: url]];
}