From 60338f768ff49d0255868111fac3bd7897510e98 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 15 Jan 2009 12:26:06 +0000 Subject: [PATCH] Allocate the file requester after reading the options which contain the values we need to put in the allocation request svn path=/trunk/netsurf/; revision=6068 --- amiga/gui.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 6907bf991..f545f9e62 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -219,13 +219,6 @@ void gui_init(int argc, char** argv) IKeymap = (struct KeymapIFace *)GetInterface(KeymapBase,"main",1,NULL); } - filereq = (struct FileRequester *)AllocAslRequest(ASL_FileRequest,NULL); - savereq = (struct FileRequester *)AllocAslRequestTags(ASL_FileRequest, - ASLFR_DoSaveMode,TRUE, - ASLFR_RejectIcons,TRUE, - ASLFR_InitialDrawer,option_download_dir, - TAG_DONE); - ami_clipboard_init(); win_destroyed = false; @@ -234,6 +227,13 @@ void gui_init(int argc, char** argv) verbose_log = option_verbose_log; + filereq = (struct FileRequester *)AllocAslRequest(ASL_FileRequest,NULL); + savereq = (struct FileRequester *)AllocAslRequestTags(ASL_FileRequest, + ASLFR_DoSaveMode,TRUE, + ASLFR_RejectIcons,TRUE, + ASLFR_InitialDrawer,option_download_dir, + TAG_DONE); + nsscreentitle = ASPrintf("NetSurf %s",netsurf_version); if(lock=Lock("Resources/LangNames",ACCESS_READ))