Manager: show zero time intervals as --- rather than 00:00:00

This commit is contained in:
David Anderson 2015-11-12 11:34:08 -08:00
parent 24f62d0190
commit 45a27257bf
1 changed files with 1 additions and 1 deletions

View File

@ -2684,7 +2684,7 @@ wxBitmap GetScaledBitmapFromXPMData(const char** XPMData) {
} }
wxString FormatTime(double secs) { wxString FormatTime(double secs) {
if (secs < 0) { if (secs <= 0) {
return wxT("---"); return wxT("---");
} }
wxInt32 iHour = (wxInt32)(secs / (60 * 60)); wxInt32 iHour = (wxInt32)(secs / (60 * 60));