diff options
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-x | amiga/gui.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 01f149c31..15ac1f553 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -158,6 +158,7 @@ static char *current_user_dir; const char tree_directory_icon_name[] = "def_drawer.info"; const char tree_content_icon_name[] = "def_project.info"; +static const __attribute__((used)) char *stack_cookie = "\0$STACK:131072\0"; static struct DrawInfo *dri; @@ -540,6 +541,13 @@ nsurl *gui_get_resource_url(const char *path) return url; } +/* Documented in desktop/options.h */ +void gui_options_init_defaults(void) +{ + /* Set defaults for absent option strings */ + ami_set_options(); /* check options and set defaults where required */ +} + void gui_init(int argc, char** argv) { BPTR lock = 0; @@ -549,8 +557,6 @@ void gui_init(int argc, char** argv) ami_clipboard_init(); ami_openurl_open(); - ami_set_options(); /* check options and set defaults where required */ - win_destroyed = false; nsscreentitle = ASPrintf("NetSurf %s",netsurf_version); |