VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Mount.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-21 19:46:21 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-21 20:47:01 +0200
commitf927ce9b58b137846bb78a47f5a83f7261eac9ff (patch)
treea5c60e363a8de1f7f450528440984e94f0363270 /src/Mount/Mount.c
parent5d9d49e989fa619ad0cd36951c3ba17a6f765346 (diff)
downloadVeraCrypt-f927ce9b58b137846bb78a47f5a83f7261eac9ff.tar.gz
VeraCrypt-f927ce9b58b137846bb78a47f5a83f7261eac9ff.zip
Windows: Add a dedicate page for volume PIM in the volume creation wizard
Diffstat (limited to 'src/Mount/Mount.c')
-rw-r--r--src/Mount/Mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index d5521725..cb32dece 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -2288,7 +2288,7 @@ BOOL CALLBACK PasswordChangeDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
else if (!(newKeyFilesParam.EnableKeyFiles && newKeyFilesParam.FirstKeyFile != NULL)
&& pwdChangeDlgMode == PCDM_CHANGE_PASSWORD)
{
- if (!CheckPasswordLength (hwndDlg, GetDlgItem (hwndDlg, IDC_PASSWORD), pin, bSysEncPwdChangeDlgMode))
+ if (!CheckPasswordLength (hwndDlg, GetWindowTextLength(GetDlgItem (hwndDlg, IDC_PASSWORD)), pin, bSysEncPwdChangeDlgMode, FALSE))
return 1;
}