summaryrefslogtreecommitdiffstats
path: root/clock.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-12-04 22:14:47 +0000
committerTiago Cunha <tcunha@gmx.com>2009-12-04 22:14:47 +0000
commitcc094fdfe6276b93683113f395edbc004837d362 (patch)
treec685b2f63461b2026d0677c4b8974e3004e114ff /clock.c
parent1caa73afb4da381425160cbff68284a4dab1470b (diff)
Sync OpenBSD patchset 581:
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/clock.c b/clock.c
index 059b277d..5c0a2400 100644
--- a/clock.c
+++ b/clock.c
@@ -1,4 +1,4 @@
-/* $Id: clock.c,v 1.8 2009-11-28 14:57:59 tcunha Exp $ */
+/* $Id: clock.c,v 1.9 2009-12-04 22:14:47 tcunha Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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;