mirror of https://github.com/BOINC/boinc.git
Manager: show zero time intervals as --- rather than 00:00:00
This commit is contained in:
parent
24f62d0190
commit
45a27257bf
|
@ -2684,7 +2684,7 @@ wxBitmap GetScaledBitmapFromXPMData(const char** XPMData) {
|
|||
}
|
||||
|
||||
wxString FormatTime(double secs) {
|
||||
if (secs < 0) {
|
||||
if (secs <= 0) {
|
||||
return wxT("---");
|
||||
}
|
||||
wxInt32 iHour = (wxInt32)(secs / (60 * 60));
|
||||
|
|
Loading…
Reference in New Issue