diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-07-23 15:19:27 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-07-23 15:19:27 +0000 |
commit | 7f6b694732f0f24d0ecb73fa3eb22c2ca9c40aa0 (patch) | |
tree | f8414263199e23e8aa3e9b74979550c51634d32f /amiga/menu.c | |
parent | 9cd59748687410e8d4260d47d17c427686d4eecb (diff) | |
download | netsurf-7f6b694732f0f24d0ecb73fa3eb22c2ca9c40aa0.tar.gz netsurf-7f6b694732f0f24d0ecb73fa3eb22c2ca9c40aa0.tar.bz2 |
Show existing file size when file already exists on download
svn path=/trunk/netsurf/; revision=12618
Diffstat (limited to 'amiga/menu.c')
-rwxr-xr-x | amiga/menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amiga/menu.c b/amiga/menu.c index ed1966df7..10066014b 100755 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -535,7 +535,7 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item) AddPart(fname,savereq->fr_File,1024); ami_update_pointer(gwin->win,GUI_POINTER_WAIT); - if(ami_download_check_overwrite(fname, gwin->win)) + if(ami_download_check_overwrite(fname, gwin->win, 0)) { if(fh = FOpen(fname,MODE_NEWFILE,0)) { @@ -561,7 +561,7 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item) AddPart(fname,savereq->fr_File,1024); ami_update_pointer(gwin->win,GUI_POINTER_WAIT); - if(ami_download_check_overwrite(fname, gwin->win)) + if(ami_download_check_overwrite(fname, gwin->win, 0)) { save_as_text(gwin->bw->current_content,fname); SetComment(fname,content_get_url(gwin->bw->current_content)); @@ -580,7 +580,7 @@ void ami_menupick(ULONG code,struct gui_window_2 *gwin,struct MenuItem *item) strlcpy(fname,savereq->fr_Drawer,1024); AddPart(fname,savereq->fr_File,1024); ami_update_pointer(gwin->win,GUI_POINTER_WAIT); - if(ami_download_check_overwrite(fname, gwin->win)) + if(ami_download_check_overwrite(fname, gwin->win, 0)) { if(lock = CreateDir(fname)) { |