From 5d2d7d579ec3806cef2e9b3e34de3f0fe6924823 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 11 Oct 2012 12:58:11 +0100 Subject: Squash warning. --- cocoa/PreferencesWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') 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]]; } -- cgit v1.2.3