Speculative fix for issue 5024

This commit is contained in:
Dávid Bolvanský 2022-11-22 02:35:11 +01:00 committed by GitHub
parent 7d6cc3ae7e
commit 4dc55bffa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ void CProjectProcessingPage::OnStateChange( CProjectProcessingPageEvent& WXUNUSE
ai->email_addr = (const char*)pWA->GetAccountEmailAddress().mb_str();
}
ai->passwd = (const char*)pWA->GetAccountPassword().mb_str();
ai->user_name = (const char*)::wxGetUserName().mb_str();
ai->user_name = (const char*)::wxGetUserName().utf8_str();
if (ai->user_name.empty()) {
ai->user_name = (const char*)::wxGetUserId().mb_str();
}