summaryrefslogtreecommitdiffstats
path: root/clock.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-12-03 22:50:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-12-03 22:50:09 +0000
commit15a64b805e46584d37cc6745383709632e287999 (patch)
tree5a55f5006585c9cdde05163251fd99da243575b5 /clock.c
parent6c9862662fd2cccdc55be9d447a27b10f33ed8ea (diff)
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying colours...
Diffstat (limited to 'clock.c')
-rw-r--r--clock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clock.c b/clock.c
index b630cf84..00d818be 100644
--- a/clock.c
+++ b/clock.c
@@ -134,13 +134,13 @@ clock_draw(struct screen_write_ctx *ctx, int colour, int style)
for (ptr = tim; *ptr != '\0'; ptr++) {
if (*ptr >= '0' && *ptr <= '9')
idx = *ptr - '0';
- else if (*ptr == ':')
+ else if (*ptr == ':')
idx = 10;
- else if (*ptr == 'A')
+ else if (*ptr == 'A')
idx = 11;
- else if (*ptr == 'P')
+ else if (*ptr == 'P')
idx = 12;
- else if (*ptr == 'M')
+ else if (*ptr == 'M')
idx = 13;
else {
x += 6;