mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Fix drag saving text selections
This commit is contained in:
parent
9303fc56dc
commit
cd25e581cf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user