From 2a1a6350074eccfaeddb9af88f88de673717708e Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Aug 01 2018 07:42:10 +0000 Subject: fix unc path conversion (#2173) --- diff --git a/toonz/sources/common/tsystem/uncpath.cpp b/toonz/sources/common/tsystem/uncpath.cpp index 0ae7e22..ca3dbca 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); } }