fix crash on batch rendering with unc path (#1866)
This commit is contained in:
parent
388550d11d
commit
00ab483723
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ TFilePath TSystem::toUNC(const TFilePath &fp) {
|
|||
|
||||
switch (dwResult) {
|
||||
case NO_ERROR:
|
||||
return TFilePath(::to_string(puni->lpUniversalName));
|
||||
return TFilePath(::to_string(std::wstring(puni->lpUniversalName)));
|
||||
|
||||
case ERROR_NOT_CONNECTED:
|
||||
// The network connection does not exists.
|
||||
|
|
Loading…
Reference in a new issue