1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux: remove workaround for wxFileType::GetOpenCommand bug in handling path with spaces because it was fixed in wxWidgets 3.0 and this workaround causes problems.

This commit is contained in:
Mounir IDRASSI
2014-10-24 22:32:25 +02:00
parent 9c1ddff7e3
commit e1a0826ef5

View File

@@ -996,13 +996,8 @@ namespace VeraCrypt
{
try
{
#ifdef TC_MACOSX
if (wxExecute (fileType->GetOpenCommand (document.GetFullPath())) != 0)
return;
#else
if (wxExecute (fileType->GetOpenCommand (L"\"" + document.GetFullPath() + L"\"")) != 0)
return;
#endif
}
catch (TimeOut&) { }
}