From 0c5bb37bea878d6b0b622cb7ea6eab649e4c578b Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 29 Jun 2014 22:35:52 +0100 Subject: Implement a very basic favicon cache for the hotlist menu to use --- amiga/bitmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'amiga/bitmap.c') diff --git a/amiga/bitmap.c b/amiga/bitmap.c index f25ac2b81..271978b2e 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -152,7 +152,9 @@ bool bitmap_save(void *bitmap, const char *path, unsigned flags) int err = 0; Object *dto = NULL; - if(!ami_download_check_overwrite(path, NULL, 0)) return false; + if ((flags & AMI_BITMAP_FORCE_OVERWRITE) == 0) { + if(!ami_download_check_overwrite(path, NULL, 0)) return false; + } if(dto = ami_datatype_object_from_bitmap(bitmap)) { -- cgit v1.2.3