mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Linux: fix assert by wxWidgets library included in Ubuntu.
This commit is contained in:
@@ -146,8 +146,11 @@ namespace VeraCrypt
|
|||||||
ArgMountOptions = Preferences.DefaultMountOptions;
|
ArgMountOptions = Preferences.DefaultMountOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(TC_WINDOWS) || defined(TC_MACOSX)
|
||||||
ArgAllowScreencapture = parser.Found (L"allow-screencapture");
|
ArgAllowScreencapture = parser.Found (L"allow-screencapture");
|
||||||
|
#else
|
||||||
|
ArgAllowScreencapture = true; // Protection against screenshots is supported only on Windows and MacOS
|
||||||
|
#endif
|
||||||
// Commands
|
// Commands
|
||||||
if (parser.Found (L"auto-mount", &str))
|
if (parser.Found (L"auto-mount", &str))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user