summaryrefslogtreecommitdiff
path: root/frontends/beos/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/beos/gui.cpp')
-rw-r--r--frontends/beos/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/beos/gui.cpp b/frontends/beos/gui.cpp
index 53387ad07..8c6614d17 100644
--- a/frontends/beos/gui.cpp
+++ b/frontends/beos/gui.cpp
@@ -797,7 +797,7 @@ static char *url_to_path(const char *url)
char *url_path;
char *path = NULL;
- if (url_unescape(url, 0, &url_path) == NSERROR_OK) {
+ if (url_unescape(url, 0, NULL, &url_path) == NSERROR_OK) {
/* return the absolute path including leading / */
path = strdup(url_path + (FILE_SCHEME_PREFIX_LEN - 1));
free(url_path);