VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-24 22:32:25 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:24:14 +0100
commite1a0826ef52d8a8650fdac7f36a58a2b1fd68c77 (patch)
tree284b11c00a6151258e8b1fbd46f52c9fe1af6007 /src
parent9c1ddff7e303ecd93716d32b02f354f0eca9e240 (diff)
downloadVeraCrypt-e1a0826ef52d8a8650fdac7f36a58a2b1fd68c77.tar.gz
VeraCrypt-e1a0826ef52d8a8650fdac7f36a58a2b1fd68c77.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/Main/GraphicUserInterface.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp
index e225726a..952f04a9 100644
--- a/src/Main/GraphicUserInterface.cpp
+++ b/src/Main/GraphicUserInterface.cpp
@@ -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&) { }
}