summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binstatus.c b/binstatus.c
index 860529c..3881e6c 100644
--- a/binstatus.c
+++ b/binstatus.c
@@ -109,7 +109,7 @@ main(int argc, char *argv[])
while (1)
{
gettime(time);
- if (!miltime)
+ if (!miltime && time[0] > 12)
time[0] = converthour(time[0]);
formatstring(status, time);
XStoreName(dsp, DefaultRootWindow(dsp), status);