aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/File.cpp')
-rw-r--r--Minecraft.World/File.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/File.cpp b/Minecraft.World/File.cpp
index 1d66bfeb..21bc3021 100644
--- a/Minecraft.World/File.cpp
+++ b/Minecraft.World/File.cpp
@@ -37,7 +37,7 @@ File::File( const wstring& pathname ) //: parent( NULL )
m_abstractPathName = pathname;
#ifdef _WINDOWS64
- string path = wstringtofilename(m_abstractPathName);
+ string path = wstringtochararray(m_abstractPathName);
string finalPath = StorageManager.GetMountedPath(path.c_str());
if(finalPath.size() == 0) finalPath = path;
m_abstractPathName = convStringToWstring(finalPath);