OpenToonz - An open-source full-featured 2D animation creation software
C
fix unc path conversion (#2173)
shun-iwasawa2a1a6350074e
diff --git a/toonz/sources/common/tsystem/uncpath.cpp b/toonz/sources/common/tsystem/uncpath.cppindex 0ae7e22f5..ca3dbcad5 100644--- a/toonz/sources/common/tsystem/uncpath.cpp+++ b/toonz/sources/common/tsystem/uncpath.cpp@@ -190,12 +190,7 @@ TFilePath TSystem::toLocalPath(const TFilePath &fp) {// shi502_path e' una wstring, anche se la dichiarazione di// PSHARE_INFO_502 non lo sa!std::wstring shareLocalPathW = (LPWSTR)(p->shi502_path);- std::string shareLocalPath = ::to_string(shareLocalPathW);- //#else- // string shareLocalPath = toString(p->shi502_path);- //#endif- std::string localPath = shareLocalPath + path;- return TFilePath(localPath);+ return TFilePath(shareLocalPathW) + TFilePath(path);}}