Skip to content

Commit fb151e9

Browse files
Fix forward slashes in long paths causing error
1 parent 2c10f5b commit fb151e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xivModdingFramework/Helpers/IOUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ public static string MakeLongPath(string path)
767767
{
768768
path = "\\\\?\\" + path;
769769
}
770-
return path;
770+
return path.Replace("/", "\\");
771771
}
772772

773773
public static byte[] GetImageSharpPixels(Image<Bgra32> img)

0 commit comments

Comments
 (0)