mirror of https://github.com/BOINC/boinc.git
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:
parent
bcc6e70102
commit
404020cd25
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue