diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 16:49:55 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-10-03 16:49:55 +0000 |
commit | 817841eab3a59286908e3447b3cf99423e8d5540 (patch) | |
tree | dba8c1efb3bc7a0c482db0deffe73661e73a4571 /cocoa/PreferencesWindowController.m | |
parent | 7dc000e64356c58246d46253d072180bc2845ad7 (diff) | |
download | netsurf-817841eab3a59286908e3447b3cf99423e8d5540.tar.gz netsurf-817841eab3a59286908e3447b3cf99423e8d5540.tar.bz2 |
Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12930
Diffstat (limited to 'cocoa/PreferencesWindowController.m')
-rw-r--r-- | cocoa/PreferencesWindowController.m | 2 |
1 files changed, 1 insertions, 1 deletions
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]]; } |