Commit a1240231 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent 95dcf977
...@@ -17,8 +17,8 @@ namespace NSSystemPath ...@@ -17,8 +17,8 @@ namespace NSSystemPath
{ {
std::wstring sRes; std::wstring sRes;
#if defined(_WIN32) || defined (_WIN64) #if defined(_WIN32) || defined (_WIN64)
TCHAR tDrive[256]; wchar_t tDrive[256];
TCHAR tFolder[256]; wchar_t tFolder[256];
_wsplitpath( strFileName.c_str(), tDrive, tFolder, NULL, NULL ); _wsplitpath( strFileName.c_str(), tDrive, tFolder, NULL, NULL );
sRes.append(tDrive); sRes.append(tDrive);
sRes.append(tFolder); sRes.append(tFolder);
...@@ -36,8 +36,8 @@ namespace NSSystemPath ...@@ -36,8 +36,8 @@ namespace NSSystemPath
{ {
std::wstring sRes; std::wstring sRes;
#if defined(_WIN32) || defined (_WIN64) #if defined(_WIN32) || defined (_WIN64)
TCHAR tFilename[256]; wchar_t tFilename[256];
TCHAR tExt[256]; wchar_t tExt[256];
_wsplitpath( strFileName.c_str(), NULL, NULL, tFilename, tExt ); _wsplitpath( strFileName.c_str(), NULL, NULL, tFilename, tExt );
sRes.append(tFilename); sRes.append(tFilename);
sRes.append(tExt); sRes.append(tExt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment