diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-06-08 01:14:57 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-06-08 01:16:34 +0200 |
commit | a7a8d57bcaaaf4e5982d2e51cd3086d34f45f780 (patch) | |
tree | 457161e7fefc61ee391ab2bd99f6f728b3b4a688 /src/Common/Password.c | |
parent | 00cd134720f754f008fdc541afdd9ab70f6d11da (diff) | |
download | VeraCrypt-a7a8d57bcaaaf4e5982d2e51cd3086d34f45f780.tar.gz VeraCrypt-a7a8d57bcaaaf4e5982d2e51cd3086d34f45f780.zip |
Windows: rename PIN to PIM to avoid confusion. Better error messages.
Diffstat (limited to 'src/Common/Password.c')
-rw-r--r-- | src/Common/Password.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Password.c b/src/Common/Password.c index 63b099b4..79566877 100644 --- a/src/Common/Password.c +++ b/src/Common/Password.c @@ -114,7 +114,7 @@ BOOL CheckPasswordLength (HWND hwndDlg, HWND hwndItem, int pin, BOOL bForBoot) {
if (bCustomPinSmall)
{
- Error (bForBoot? "BOOT_PIN_REQUIRE_LONG_PASSWORD": "PIN_REQUIRE_LONG_PASSWORD", hwndDlg);
+ Error (bForBoot? "BOOT_PIM_REQUIRE_LONG_PASSWORD": "PIM_REQUIRE_LONG_PASSWORD", hwndDlg);
return FALSE;
}
@@ -126,7 +126,7 @@ BOOL CheckPasswordLength (HWND hwndDlg, HWND hwndItem, int pin, BOOL bForBoot) #ifndef _DEBUG
else if (bCustomPinSmall)
{
- if (MessageBoxW (hwndDlg, GetString ("PIN_SMALL_WARNING"), lpszTitle, MB_YESNO|MB_ICONWARNING|MB_DEFBUTTON2) != IDYES)
+ if (MessageBoxW (hwndDlg, GetString ("PIM_SMALL_WARNING"), lpszTitle, MB_YESNO|MB_ICONWARNING|MB_DEFBUTTON2) != IDYES)
return FALSE;
}
#endif
|