diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-11-21 09:23:00 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-11-21 09:28:37 +0000 |
commit | 8fc7da72c60b62ec9dc45359bbe9732f4cd3a981 (patch) | |
tree | 130a09b01a0fb5db79b8343f74a817a0e56d0f02 /amiga/gui_options.c | |
parent | 8a6be34a625a8725451a0013688c602eb5a6754a (diff) | |
download | netsurf-8fc7da72c60b62ec9dc45359bbe9732f4cd3a981.tar.gz netsurf-8fc7da72c60b62ec9dc45359bbe9732f4cd3a981.tar.bz2 |
Use browser_window_get_url, instead of fishing content out of bw and getting URL from that.
Diffstat (limited to 'amiga/gui_options.c')
-rwxr-xr-x | amiga/gui_options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui_options.c b/amiga/gui_options.c index 62b54773f..7cb361daa 100755 --- a/amiga/gui_options.c +++ b/amiga/gui_options.c @@ -1976,7 +1976,7 @@ BOOL ami_gui_opts_event(void) case GID_OPTS_HOMEPAGE_CURRENT: if(cur_gw) RefreshSetGadgetAttrs((struct Gadget *)gow->objects[GID_OPTS_HOMEPAGE], gow->win, NULL, STRINGA_TextVal, - nsurl_access(hlcache_handle_get_url(cur_gw->bw->current_content)), TAG_DONE); + nsurl_access(browser_window_get_url(cur_gw->bw)), TAG_DONE); break; case GID_OPTS_HOMEPAGE_BLANK: |