diff options
Diffstat (limited to 'frontends/windows')
-rw-r--r-- | frontends/windows/download.c | 4 | ||||
-rw-r--r-- | frontends/windows/file.c | 4 | ||||
-rw-r--r-- | frontends/windows/findfile.c | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/frontends/windows/download.c b/frontends/windows/download.c index f1a02870c..9c8cefa8d 100644 --- a/frontends/windows/download.c +++ b/frontends/windows/download.c @@ -17,9 +17,7 @@ */ #include <limits.h> - -#include "utils/config.h" - +#include "utils/inet.h" /* get correct winsock ordering */ #include <shlobj.h> #include <windows.h> diff --git a/frontends/windows/file.c b/frontends/windows/file.c index 5c5b1f061..7583790e9 100644 --- a/frontends/windows/file.c +++ b/frontends/windows/file.c @@ -141,7 +141,9 @@ static nserror windows_nsurl_to_path(struct nsurl *url, char **path_out) return NSERROR_BAD_PARAMETER; } - res = url_unescape(lwc_string_data(urlpath), &path); + res = url_unescape(lwc_string_data(urlpath), + lwc_string_length(urlpath), + &path); lwc_string_unref(urlpath); if (res != NSERROR_OK) { return res; diff --git a/frontends/windows/findfile.c b/frontends/windows/findfile.c index 8c8906a80..e1c9595eb 100644 --- a/frontends/windows/findfile.c +++ b/frontends/windows/findfile.c @@ -27,9 +27,6 @@ #include <stdlib.h> #include <string.h> - -#include <curl/curl.h> - #include "utils/log.h" #include "utils/url.h" #include "utils/utils.h" |