From 6959a30b26c48ab985085cc5f5d098d0f6c33374 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 15 Oct 2011 15:27:56 +0000 Subject: Move non-requester user file operations to file.c svn path=/trunk/netsurf/; revision=13065 --- amiga/icon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'amiga/icon.c') diff --git a/amiga/icon.c b/amiga/icon.c index 82105a24b..7cf6841e3 100644 --- a/amiga/icon.c +++ b/amiga/icon.c @@ -431,6 +431,8 @@ void amiga_icon_superimpose_favicon(char *path, struct hlcache_handle *icon, cha struct ColorRegister *pal1; struct ColorRegister *pal2; + if(icon == NULL) return; + if(!type) { dobj = GetIconTags(NULL, -- cgit v1.2.3