Fix drag saving text selections

This commit is contained in:
Chris Young 2013-02-22 21:03:52 +00:00
parent 9303fc56dc
commit cd25e581cf

View File

@ -159,7 +159,8 @@ void ami_drag_save(struct Window *win)
case GUI_SAVE_TEXT_SELECTION: // selection
AddPart(path,"netsurf_text_selection",1024);
ami_file_save(AMINS_SAVE_SELECTION, path, win, NULL, NULL, drag_save_data);
struct gui_window *g = (struct gui_window *) drag_save_data;
ami_file_save(AMINS_SAVE_SELECTION, path, win, NULL, NULL, g->shared->bw);
break;
case GUI_SAVE_COMPLETE: