From 354de433e9b9599a46952cbddfb0e53f1e9f37e6 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 22 Jun 2015 19:12:57 +0100 Subject: Scale cached favicons before they are cached. This avoids the need to scale icons on menu creation. --- amiga/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index 5c671e1e2..1eb561da6 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3082,7 +3082,7 @@ static void ami_gui_cache_favicon(nsurl *url, struct bitmap *favicon) STRPTR filename = NULL; if ((filename = ami_gui_get_cache_favicon_name(url, false))) { - if(favicon) amiga_bitmap_save(favicon, filename, AMI_BITMAP_FORCE_OVERWRITE); + if(favicon) amiga_bitmap_save(favicon, filename, AMI_BITMAP_SCALE_ICON); FreeVec(filename); } } -- cgit v1.2.3