Skip to content

Commit fee765c

Browse files
softworkzmstorsjo
authored andcommitted
fftools/fopen_utf8: support long paths on Windows for fftools
Signed-off-by: softworkz <[email protected]> Signed-off-by: Martin Storsjö <[email protected]>
1 parent 6d3f771 commit fee765c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fftools/fopen_utf8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static inline FILE *fopen_utf8(const char *path_utf8, const char *mode)
3535
FILE *f;
3636

3737
/* convert UTF-8 to wide chars */
38-
if (utf8towchar(path_utf8, &path_w)) /* This sets errno on error. */
38+
if (get_extended_win32_path(path_utf8, &path_w)) /* This sets errno on error. */
3939
return NULL;
4040
if (!path_w)
4141
goto fallback;

0 commit comments

Comments
 (0)