diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-10-31 00:24:57 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-10-31 00:24:57 +0000 |
commit | ce3d99191842ded7687dc23c3ccb5f5ccc843558 (patch) | |
tree | 8bf59a56a3b5eadf727068201acd3e8c51bd9dc9 /amiga/file.c | |
parent | f995616509fc3c0556da49c915375108bf268f38 (diff) | |
download | netsurf-ce3d99191842ded7687dc23c3ccb5f5ccc843558.tar.gz netsurf-ce3d99191842ded7687dc23c3ccb5f5ccc843558.tar.bz2 |
use nsurl_nice and remove url_nice
change all callers over to using new API for generating nice filenames
from a url and remove the old API.
Diffstat (limited to 'amiga/file.c')
-rw-r--r-- | amiga/file.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/file.c b/amiga/file.c index e74c5d050..2eda9261a 100644 --- a/amiga/file.c +++ b/amiga/file.c @@ -220,7 +220,9 @@ void ami_file_save_req(int type, struct gui_window_2 *gwin, char *fname = AllocVecTags(1024, NULL); char *initial_fname = NULL; - if(object) url_nice(nsurl_access(hlcache_handle_get_url(object)), &initial_fname, true); + if(object) { + nsurl_nice(hlcache_handle_get_url(object), &initial_fname, true); + } if(AslRequestTags(savereq, ASLFR_Window, gwin->win, |