aboutsummaryrefslogtreecommitdiff
path: root/src/pr_clock.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-09-15 21:33:10 +0200
committerThomas White <taw@bitwiz.org.uk>2013-09-15 21:33:10 +0200
commit02c7e43f0905d4b65e92d985a4fcb724ce12f357 (patch)
tree0bfd6b9014b0d3f4ddc4df0b27e6c8cd9b1d0d3c /src/pr_clock.c
parentf5a735e3975b29dd69ef4a573c67824d951b2fbc (diff)
"60 seconds" instead of "1 min 0 seconds"
Diffstat (limited to 'src/pr_clock.c')
-rw-r--r--src/pr_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pr_clock.c b/src/pr_clock.c
index 2526366..98971fe 100644
--- a/src/pr_clock.c
+++ b/src/pr_clock.c
@@ -102,7 +102,7 @@ static char *format_span_nice(int n)
mins = ((n-sec) % (60*60))/60;
hours = (n-sec-mins) / (60*60);
- if ( n < 60 ) {
+ if ( n <= 60 ) {
snprintf(tmp, 63, "%i seconds %s", n, s);
return strdup(tmp);
}