mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 05:53:29 +01:00
Linux/MacOSX: Fix regression that limited the size available for hidden volumes
created on disk or partition.
This commit is contained in:
parent
f9572ea8f5
commit
b0b149db83
@ -103,7 +103,7 @@ namespace VeraCrypt
|
||||
try
|
||||
{
|
||||
uint64 uiVolumeSize = GetVolumeSize();
|
||||
if (uiVolumeSize >= MinVolumeSize && (!MaxVolumeSizeValid || uiVolumeSize <= MaxVolumeSize) && (CmdLine->ArgDisableFileSizeCheck || !AvailableDiskSpace || uiVolumeSize <= AvailableDiskSpace))
|
||||
if (uiVolumeSize >= MinVolumeSize && (!MaxVolumeSizeValid || uiVolumeSize <= MaxVolumeSize) && (MaxVolumeSizeValid || CmdLine->ArgDisableFileSizeCheck || !AvailableDiskSpace || uiVolumeSize <= AvailableDiskSpace))
|
||||
return true;
|
||||
}
|
||||
catch (...) { }
|
||||
|
Loading…
Reference in New Issue
Block a user