Get filename from core

svn path=/trunk/netsurf/; revision=11771
This commit is contained in:
Chris Young 2011-02-23 18:45:08 +00:00
parent 2ef37af60c
commit b49669d17e

View File

@ -83,7 +83,7 @@ struct gui_download_window *gui_download_window_create(download_context *ctx,
ASLFR_TitleText,messages_get("NetSurf"), ASLFR_TitleText,messages_get("NetSurf"),
ASLFR_Screen,scrn, ASLFR_Screen,scrn,
ASLFR_InitialDrawer, option_download_dir, ASLFR_InitialDrawer, option_download_dir,
ASLFR_InitialFile,FilePart(url), ASLFR_InitialFile, download_context_get_filename(ctx),
TAG_DONE)) TAG_DONE))
{ {
strlcpy(&dw->fname,savereq->fr_Drawer,1024); strlcpy(&dw->fname,savereq->fr_Drawer,1024);