From afc45f7ba5d10eb916e1346d3e15c68e7de9aaa4 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 19 Jan 2017 17:33:40 -0500 Subject: Revert "Show one digit of each hour in clock" This reverts commit dbe688285900b81c7e46ab7a6f74ecdfefa2856a. --- .bin/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bin') diff --git a/.bin/clock.c b/.bin/clock.c index 69d33dae..9eb4dc23 100755 --- a/.bin/clock.c +++ b/.bin/clock.c @@ -18,7 +18,7 @@ int main() { case 0: printf("...%02d...\n", clock->tm_hour); break; case 1: printf("..%02d....\n", clock->tm_hour); break; case 2: printf(".%02d.....\n", clock->tm_hour); break; - case 3: printf("%d......%d\n", clock->tm_hour % 10, (clock->tm_hour + 1) / 10); break; + case 3: printf("%02d....%02d\n", clock->tm_hour, clock->tm_hour + 1); break; case 4: printf(".....%02d.\n", clock->tm_hour + 1); break; case 5: printf("....%02d..\n", clock->tm_hour + 1); break; case 6: printf("...%02d...\n", clock->tm_hour + 1); break; -- cgit 1.4.1 n/man1/xx.1?follow=1'>log tree commit diff
path: root/bin/man1/xx.1 (unfollow)
Commit message (Expand)Author
2019-02-07Move comments below strings in hiJune McEnroe
2019-02-07Add subexpression highlighting to hiJune McEnroe
2019-02-06Add pattend to hiJune McEnroe
2019-02-06Add hi syntax highlighterJune McEnroe
2019-02-05Update neovim to 0.3.4 on DarwinJune McEnroe
2019-02-05Fix DEL in aesJune McEnroe
2019-02-05Add aesJune McEnroe
2019-02-01Set nvim Directory back to blueJune McEnroe