diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-12-03 22:50:09 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-12-03 22:50:09 +0000 |
commit | 15a64b805e46584d37cc6745383709632e287999 (patch) | |
tree | 5a55f5006585c9cdde05163251fd99da243575b5 /clock.c | |
parent | 6c9862662fd2cccdc55be9d447a27b10f33ed8ea (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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |