diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-02-22 19:02:58 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-02-22 19:02:58 +0000 |
commit | 4d9b67499727f1cce58c2bd65a06178f91fc30b4 (patch) | |
tree | 0558cd48d512e828a5cafc7ea5fd93249e619e94 /amiga/context_menu.c | |
parent | 48bd5e1f102c7a0cf5d71c5df991329c52dccbcc (diff) | |
download | netsurf-4d9b67499727f1cce58c2bd65a06178f91fc30b4.tar.gz netsurf-4d9b67499727f1cce58c2bd65a06178f91fc30b4.tar.bz2 |
Remove struct selection from ami_file_save and anywhere that feeds into it
Diffstat (limited to 'amiga/context_menu.c')
-rw-r--r-- | amiga/context_menu.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 9266350f1..c5b292927 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -892,18 +892,18 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved case CMID_SAVEOBJ: case CMID_PAGESAVE: ami_file_save_req(AMINS_SAVE_SOURCE, gwin, - (struct hlcache_handle *)userdata, NULL); + (struct hlcache_handle *)userdata); break; case CMID_PAGESAVECOMPLETE: case CMID_FRAMESAVECOMPLETE: ami_file_save_req(AMINS_SAVE_COMPLETE, gwin, - (struct hlcache_handle *)userdata, NULL); + (struct hlcache_handle *)userdata); break; case CMID_SAVEIFFOBJ: ami_file_save_req(AMINS_SAVE_IFF, gwin, - (struct hlcache_handle *)userdata, NULL); + (struct hlcache_handle *)userdata); break; case CMID_PLUGINCMD: @@ -984,8 +984,7 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved break; case CMID_SELSAVE: - ami_file_save_req(AMINS_SAVE_SELECTION, gwin, NULL, - browser_window_get_selection(gwin->bw)); + ami_file_save_req(AMINS_SAVE_SELECTION, gwin, NULL); break; case CMID_SELSEARCH: |