1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux: Fix wrong size for hidden volume when selecting the option to use all free space (fix by @Jertzukka)

This commit is contained in:
Mounir IDRASSI
2023-06-29 23:24:47 +02:00
parent 417ff5564e
commit df62c0227c

View File

@@ -79,7 +79,7 @@ namespace VeraCrypt
uint64 val; uint64 val;
if (UseAllFreeSpaceCheckBox->IsChecked ()) if (UseAllFreeSpaceCheckBox->IsChecked ())
{ {
val = AvailableDiskSpace; val = MaxVolumeSizeValid ? MaxVolumeSize : AvailableDiskSpace;
} }
else else
{ {