mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Squash warning.
This commit is contained in:
parent
9219e90587
commit
5d2d7d579e
@ -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]];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user