summaryrefslogtreecommitdiff
path: root/desktop/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/download.c')
-rw-r--r--desktop/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/download.c b/desktop/download.c
index b458f577c..cad04779f 100644
--- a/desktop/download.c
+++ b/desktop/download.c
@@ -75,7 +75,7 @@ static char *download_default_filename(const char *url)
{
char *nice;
- if (url_nice(url, &nice, false) == URL_FUNC_OK)
+ if (url_nice(url, &nice, false) == NSERROR_OK)
return nice;
return NULL;