aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index c83304b..1499b2d 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -450,7 +450,7 @@ void strdifftime(time_t time1, time_t time0, char* str, size_t size)
if (minutes)
snprintf(str+strlen(str), size, "%i minutes ", minutes);
- if (seconds)
+ if (hours || minutes || seconds)
snprintf(str+strlen(str), size, "%i seconds ", seconds);
}
} \ No newline at end of file