diff options
Diffstat (limited to 'usr.bin/tmux/clock.c')
-rw-r--r-- | usr.bin/tmux/clock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/clock.c b/usr.bin/tmux/clock.c index f244ba117a3..e1026591824 100644 --- a/usr.bin/tmux/clock.c +++ b/usr.bin/tmux/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.5 2009/11/26 23:13:47 nicm Exp $ */ +/* $OpenBSD: clock.c,v 1.6 2009/12/03 22:50:09 nicm 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; |