diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-29 23:24:47 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-29 23:24:47 +0200 |
commit | df62c0227c40682a69c15d8477b7ddcc0f380678 (patch) | |
tree | 6e3cc9e36b14afc413b920c6b9c7a2f23e0ae9b6 /src/Main/Forms | |
parent | 417ff5564e7dfad1faccb1b33dfe7a21e8e817e4 (diff) | |
download | VeraCrypt-df62c0227c40682a69c15d8477b7ddcc0f380678.tar.gz VeraCrypt-df62c0227c40682a69c15d8477b7ddcc0f380678.zip |
Linux: Fix wrong size for hidden volume when selecting the option to use all free space (fix by @Jertzukka)
Diffstat (limited to 'src/Main/Forms')
-rw-r--r-- | src/Main/Forms/VolumeSizeWizardPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/VolumeSizeWizardPage.cpp b/src/Main/Forms/VolumeSizeWizardPage.cpp index 61427ea5..ce337620 100644 --- a/src/Main/Forms/VolumeSizeWizardPage.cpp +++ b/src/Main/Forms/VolumeSizeWizardPage.cpp @@ -79,7 +79,7 @@ namespace VeraCrypt uint64 val; if (UseAllFreeSpaceCheckBox->IsChecked ()) { - val = AvailableDiskSpace; + val = MaxVolumeSizeValid ? MaxVolumeSize : AvailableDiskSpace; } else { |