VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/VolumePasswordPanel.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-10 23:48:52 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-10 23:58:34 (GMT)
commit6ef41abdd2122c36d9387cc4bbdbcfc81315b94b (patch)
treecb86ea0e7857825ba985c7d81a5a6b5a53c1655f /src/Main/Forms/VolumePasswordPanel.cpp
parent7a01453f00aba9ed41228ac9c7064e69379be8cd (diff)
downloadVeraCrypt-6ef41abdd2122c36d9387cc4bbdbcfc81315b94b.zip
VeraCrypt-6ef41abdd2122c36d9387cc4bbdbcfc81315b94b.tar.gz
Use Pim name for internal variables instead of the old name Pin
Diffstat (limited to 'src/Main/Forms/VolumePasswordPanel.cpp')
-rw-r--r--src/Main/Forms/VolumePasswordPanel.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Main/Forms/VolumePasswordPanel.cpp b/src/Main/Forms/VolumePasswordPanel.cpp
index 8c0133e..0d1e693 100644
--- a/src/Main/Forms/VolumePasswordPanel.cpp
+++ b/src/Main/Forms/VolumePasswordPanel.cpp
@@ -57,7 +57,7 @@ namespace VeraCrypt
VolumePimStaticText->Show (enablePassword && (!enableConfirmation || (enablePkcs5Prf && !isMountPassword)));
VolumePimTextCtrl->Show (enablePassword && (!enableConfirmation || (enablePkcs5Prf && !isMountPassword)));
- VolumePinHelpStaticText->Show (enablePassword && (!enableConfirmation || (enablePkcs5Prf && !isMountPassword)));
+ VolumePimHelpStaticText->Show (enablePassword && (!enableConfirmation || (enablePkcs5Prf && !isMountPassword)));
ConfirmPasswordStaticText->Show (enableConfirmation);
ConfirmPasswordTextCtrl->Show (enableConfirmation);
@@ -78,7 +78,7 @@ namespace VeraCrypt
{
VolumePimStaticText->Enable (false);
VolumePimTextCtrl->Enable (false);
- VolumePinHelpStaticText->Enable (false);
+ VolumePimHelpStaticText->Enable (false);
}
}
@@ -227,12 +227,12 @@ namespace VeraCrypt
{
if (VolumePimTextCtrl->IsEnabled ())
{
- wxString pinStr (VolumePimTextCtrl->GetValue());
- long pin = 0;
- if (pinStr.IsEmpty())
+ wxString pimStr (VolumePimTextCtrl->GetValue());
+ long pim = 0;
+ if (pimStr.IsEmpty())
return 0;
- if (pinStr.ToLong (&pin))
- return (int) pin;
+ if (pimStr.ToLong (&pim))
+ return (int) pim;
else
return -1;
}
@@ -386,13 +386,13 @@ namespace VeraCrypt
{
if (GetVolumePim() != 0)
{
- VolumePinHelpStaticText->SetForegroundColour(*wxRED);
- VolumePinHelpStaticText->SetLabel(LangString["PIM_CHANGE_WARNING"]);
+ VolumePimHelpStaticText->SetForegroundColour(*wxRED);
+ VolumePimHelpStaticText->SetLabel(LangString["PIM_CHANGE_WARNING"]);
}
else
{
- VolumePinHelpStaticText->SetForegroundColour(*wxBLACK);
- VolumePinHelpStaticText->SetLabel(LangString["IDC_PIM_HELP"]);
+ VolumePimHelpStaticText->SetForegroundColour(*wxBLACK);
+ VolumePimHelpStaticText->SetLabel(LangString["IDC_PIM_HELP"]);
}
}
}
@@ -402,6 +402,6 @@ namespace VeraCrypt
bool bEnablePIM = !GetTrueCryptMode ();
VolumePimStaticText->Enable (bEnablePIM);
VolumePimTextCtrl->Enable (bEnablePIM);
- VolumePinHelpStaticText->Enable (bEnablePIM);
+ VolumePimHelpStaticText->Enable (bEnablePIM);
}
}