diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/download.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/download.c b/desktop/download.c index a124c8909..6e2aad8ed 100644 --- a/desktop/download.c +++ b/desktop/download.c @@ -76,8 +76,9 @@ static char *download_default_filename(nsurl *url) { char *nice; - if (url_nice(nsurl_access(url), &nice, false) == NSERROR_OK) + if (nsurl_nice(url, &nice, false) == NSERROR_OK) { return nice; + } return NULL; } |