Merge pull request #4661 from BOINC/dpa_prefs

Computing prefs dialog: use %f instead of %g
This commit is contained in:
Vitalii Koshura 2022-03-22 20:55:56 +01:00 committed by GitHub
commit d1d576083d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ void CDlgAdvPreferences::DisplayValue(double value, wxTextCtrl* textCtrl, wxChec
return;
}
}
buffer.Printf(wxT("%g"), value);
buffer.Printf(wxT("%.2f"), value);
textCtrl->ChangeValue(buffer);
textCtrl->Enable();
}