mirror of https://github.com/BOINC/boinc.git
Merge pull request #4661 from BOINC/dpa_prefs
Computing prefs dialog: use %f instead of %g
This commit is contained in:
commit
d1d576083d
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue