summaryrefslogtreecommitdiff
path: root/amiga/bitmap.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-07-23 15:19:27 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-07-23 15:19:27 +0000
commit7f6b694732f0f24d0ecb73fa3eb22c2ca9c40aa0 (patch)
treef8414263199e23e8aa3e9b74979550c51634d32f /amiga/bitmap.c
parent9cd59748687410e8d4260d47d17c427686d4eecb (diff)
downloadnetsurf-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/bitmap.c')
-rw-r--r--amiga/bitmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c
index d6895d2b3..b6e01c1ed 100644
--- a/amiga/bitmap.c
+++ b/amiga/bitmap.c
@@ -33,6 +33,7 @@
#include <datatypes/pictureclass.h>
#include <proto/dos.h>
#include <proto/intuition.h>
+#include <proto/utility.h>
#include "utils/messages.h"
/**
@@ -138,7 +139,7 @@ bool bitmap_save(void *bitmap, const char *path, unsigned flags)
int err = 0;
Object *dto = NULL;
- if(!ami_download_check_overwrite(path, NULL)) return false;
+ if(!ami_download_check_overwrite(path, NULL, 0)) return false;
if(dto = ami_datatype_object_from_bitmap(bitmap))
{