VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/GraphicUserInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-24 20:32:25 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 22:24:14 (GMT)
commite1a0826ef52d8a8650fdac7f36a58a2b1fd68c77 (patch)
tree284b11c00a6151258e8b1fbd46f52c9fe1af6007 /src/Main/GraphicUserInterface.cpp
parent9c1ddff7e303ecd93716d32b02f354f0eca9e240 (diff)
downloadVeraCrypt-e1a0826ef52d8a8650fdac7f36a58a2b1fd68c77.zip
VeraCrypt-e1a0826ef52d8a8650fdac7f36a58a2b1fd68c77.tar.gz
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/Main/GraphicUserInterface.cpp')
-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 e225726..952f04a 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&) { }
}