diff options
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r-- | amiga/bitmap.c | 3 |
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)) { |