From 478d953ea50169cab4ae57ba414c57332b17bf5f Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 16 May 2009 14:50:30 +0000 Subject: Copy and save images in IFF ILBM format. Currently, the data in the BODY chunk is wrong. svn path=/trunk/netsurf/; revision=7516 --- amiga/download.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'amiga/download.c') diff --git a/amiga/download.c b/amiga/download.c index 4e9b2966a..fe9f370f5 100644 --- a/amiga/download.c +++ b/amiga/download.c @@ -30,6 +30,7 @@ #include "amiga/object.h" #include "amiga/options.h" #include "amiga/save_complete.h" +#include "amiga/bitmap.h" #include "content/fetch.h" @@ -367,6 +368,9 @@ void ami_drag_save(struct Window *win) case GUI_SAVE_OBJECT_NATIVE: { struct content *c = drag_save_data; + c->bitmap->url = c->url; + c->bitmap->title = c->title; + AddPart(path,c->title,1024); bitmap_save(c->bitmap,path,0); } break; -- cgit v1.2.3