Commit fee765c2 authored by softworkz's avatar softworkz Committed by Martin Storsjö

fftools/fopen_utf8: support long paths on Windows for fftools

Signed-off-by: 's avatarsoftworkz <softworkz@hotmail.com>
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 6d3f7715
......@@ -35,7 +35,7 @@ static inline FILE *fopen_utf8(const char *path_utf8, const char *mode)
FILE *f;
/* convert UTF-8 to wide chars */
if (utf8towchar(path_utf8, &path_w)) /* This sets errno on error. */
if (get_extended_win32_path(path_utf8, &path_w)) /* This sets errno on error. */
return NULL;
if (!path_w)
goto fallback;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment