diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-09-18 15:08:31 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-09-18 15:08:31 +0200 |
commit | aaf42a84a7e1475072c2d88b88b3a5557a61a746 (patch) | |
tree | d9b9d24d541aac74ef169fbc51482132125d989c /src/Main | |
parent | 380850787e59152100eed8c5c06d0e81a34e39e0 (diff) | |
download | VeraCrypt-aaf42a84a7e1475072c2d88b88b3a5557a61a746.tar.gz VeraCrypt-aaf42a84a7e1475072c2d88b88b3a5557a61a746.zip |
Linux: fix assert by wxWidgets library included in Ubuntu.
Diffstat (limited to 'src/Main')
-rw-r--r-- | src/Main/CommandLineInterface.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Main/CommandLineInterface.cpp b/src/Main/CommandLineInterface.cpp index d1ea9099..735cbeef 100644 --- a/src/Main/CommandLineInterface.cpp +++ b/src/Main/CommandLineInterface.cpp @@ -146,8 +146,11 @@ namespace VeraCrypt ArgMountOptions = Preferences.DefaultMountOptions; } +#if defined(TC_WINDOWS) || defined(TC_MACOSX) ArgAllowScreencapture = parser.Found (L"allow-screencapture"); - +#else + ArgAllowScreencapture = true; // Protection against screenshots is supported only on Windows and MacOS +#endif // Commands if (parser.Found (L"auto-mount", &str)) { |