MGR: Make sure we use the correct string when we construct the min password length text, setting the static control to an empty string causes asserts among other things.

This commit is contained in:
Rom Walton 2015-12-11 18:21:22 -05:00
parent bcc6e70102
commit 404020cd25
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ void CAccountInfoPage::OnPageChanged( wxWizardExEvent& event ) {
if (pc.min_passwd_length) {
wxString str2;
str.Printf(_("minimum length %d"), pc.min_passwd_length);
str2.Printf(_("minimum length %d"), pc.min_passwd_length);
m_pAccountPasswordRequirmentsStaticCtrl->SetLabel( str2 );
}