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:
@@ -996,13 +996,8 @@ namespace VeraCrypt
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#ifdef TC_MACOSX
|
|
||||||
if (wxExecute (fileType->GetOpenCommand (document.GetFullPath())) != 0)
|
if (wxExecute (fileType->GetOpenCommand (document.GetFullPath())) != 0)
|
||||||
return;
|
return;
|
||||||
#else
|
|
||||||
if (wxExecute (fileType->GetOpenCommand (L"\"" + document.GetFullPath() + L"\"")) != 0)
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
catch (TimeOut&) { }
|
catch (TimeOut&) { }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user