summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-01-15 12:26:06 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-01-15 12:26:06 +0000
commit60338f768ff49d0255868111fac3bd7897510e98 (patch)
tree4d87e4add5f0bae68cdd8a440fd5928f1e9599be /amiga
parentf899efce22647ca2ebd101d976df4253c9d8c8c6 (diff)
downloadnetsurf-60338f768ff49d0255868111fac3bd7897510e98.tar.gz
netsurf-60338f768ff49d0255868111fac3bd7897510e98.tar.bz2
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
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c14
1 files 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))