From 45a27257bfce6f9131c945def8d4b231c578fb1b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 12 Nov 2015 11:34:08 -0800 Subject: [PATCH] Manager: show zero time intervals as --- rather than 00:00:00 --- clientgui/MainDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index c59fba26f5..c17a145d08 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -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));