From c1afe81e063c7c9202a391228f1f9833170d7c3a Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 23 Oct 2011 13:15:44 +0000 Subject: Complete extended context menus svn path=/trunk/netsurf/; revision=13076 --- amiga/drag.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'amiga/drag.c') diff --git a/amiga/drag.c b/amiga/drag.c index 8d40fc4c5..835db6724 100644 --- a/amiga/drag.c +++ b/amiga/drag.c @@ -153,15 +153,13 @@ void ami_drag_save(struct Window *win) BPTR fh = 0; AddPart(path, content_get_title(c), 1024); - ami_file_save(AMINS_SAVE_SOURCE, path, win, c, NULL); + ami_file_save(AMINS_SAVE_SOURCE, path, win, c, NULL, NULL); } break; case GUI_SAVE_TEXT_SELECTION: // selection AddPart(path,"netsurf_text_file",1024); - if(!ami_download_check_overwrite(path, win, 0)) - break; - selection_save_text((struct selection *)drag_save_data,path); + ami_file_save(AMINS_SAVE_SELECTION, path, win, NULL, NULL, NULL); break; case GUI_SAVE_COMPLETE: @@ -171,7 +169,7 @@ void ami_drag_save(struct Window *win) AddPart(path, content_get_title(c), 1024); - ami_file_save(AMINS_SAVE_COMPLETE, path, win, c, drag_save_gui->favicon); + ami_file_save(AMINS_SAVE_COMPLETE, path, win, c, drag_save_gui->favicon, NULL); } break; @@ -180,7 +178,7 @@ void ami_drag_save(struct Window *win) hlcache_handle *c = drag_save_data; AddPart(path, content_get_title(c), 1024); - ami_file_save(AMINS_SAVE_IFF, path, win, c, NULL); + ami_file_save(AMINS_SAVE_IFF, path, win, c, NULL, NULL); } break; -- cgit v1.2.3