Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2

This commit is contained in:
Joachim Fritzsch 2013-06-03 19:39:16 +02:00
commit 54b742838b
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ CSimpleProjectPanel::CSimpleProjectPanel( wxWindow* parent ) :
// Make sure m_TotalCreditValue string is large enough
m_fDisplayedCredit = 9999999999.99;
str.Printf(_("%s: %.0f"), m_sTotalWorkDoneString.c_str(), m_fDisplayedCredit);
str.Printf(wxT("%s: %.0f"), m_sTotalWorkDoneString.c_str(), m_fDisplayedCredit);
m_TotalCreditValue = new CTransparentStaticText( this, wxID_ANY, str, wxDefaultPosition, wxDefaultSize, wxST_NO_AUTORESIZE );
m_TotalCreditValue->Wrap( -1 );
@ -259,7 +259,7 @@ void CSimpleProjectPanel::UpdateInterface() {
if (m_fDisplayedCredit != project->user_total_credit) {
m_fDisplayedCredit = project->user_total_credit;
str.Printf(_("%s: %.0f"), m_sTotalWorkDoneString.c_str(), m_fDisplayedCredit);
str.Printf(wxT("%s: %.0f"), m_sTotalWorkDoneString.c_str(), m_fDisplayedCredit);
UpdateStaticText(&m_TotalCreditValue, str);
m_TotalCreditValue->SetName(str); // For accessibility on Windows
}