summaryrefslogtreecommitdiffstats
path: root/fb-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb-helper.c')
-rw-r--r--fb-helper.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fb-helper.c b/fb-helper.c
index 593a3be..c012c9f 100644
--- a/fb-helper.c
+++ b/fb-helper.c
@@ -109,9 +109,7 @@ void format_time(char *buf, int bufsize, time_t time)
minutes = (time/60)%60;
hours = time/60/60;
- if (hours > 9000) {
- snprintf(buf, bufsize, "OVER 9000!!");
- } else if (hours > 0) {
+ if (hours > 0) {
snprintf(buf, bufsize, "%d:%02d:%02d", hours, minutes, seconds);
} else {
snprintf(buf, bufsize, "%02d:%02d", minutes, seconds);