mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
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
This commit is contained in:
parent
f899efce22
commit
60338f768f
14
amiga/gui.c
14
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))
|
||||
|
Loading…
Reference in New Issue
Block a user