When dragging text selections to WB, pass the selection pointer to the save routine.

svn path=/trunk/netsurf/; revision=13363
This commit is contained in:
Chris Young 2012-01-02 12:03:45 +00:00
parent eef6b2da4f
commit 15fb70844d

View File

@ -158,8 +158,8 @@ void ami_drag_save(struct Window *win)
break;
case GUI_SAVE_TEXT_SELECTION: // selection
AddPart(path,"netsurf_text_file",1024);
ami_file_save(AMINS_SAVE_SELECTION, path, win, NULL, NULL, NULL);
AddPart(path,"netsurf_text_selection",1024);
ami_file_save(AMINS_SAVE_SELECTION, path, win, NULL, NULL, drag_save_data);
break;
case GUI_SAVE_COMPLETE: