diff options
Diffstat (limited to 'amiga/icon.c')
-rw-r--r-- | amiga/icon.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |