mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58: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
|
||||
{
|
||||
#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&) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user