about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-08-31 17:16:16 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-08-31 17:16:16 +0200
commit321dddfc1ff3bf4c56f9160402150a17874f8548 (patch)
treedbe1d4688a726fc9da7ea16087aaa860fd3a552b
parent5097ccf28339cfb7fcf9a7f2c11eb0d17b479d06 (diff)
downloadsnooze-321dddfc1ff3bf4c56f9160402150a17874f8548.tar.gz
snooze-321dddfc1ff3bf4c56f9160402150a17874f8548.tar.xz
snooze-321dddfc1ff3bf4c56f9160402150a17874f8548.zip
style
-rw-r--r--snooze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/snooze.c b/snooze.c
index 283a795..ef97098 100644
--- a/snooze.c
+++ b/snooze.c
@@ -99,7 +99,7 @@ parse(char *expr, char *buf, long bufsiz, int offset)
 	while (*s) {
 		switch (*s) {
 		case '0': case '1': case '2': case '3': case '4':
-                case '5': case '6': case '7': case '8': case '9':
+		case '5': case '6': case '7': case '8': case '9':
 			n = parse_int(&s, -offset, bufsiz);
 			buf[n+offset] = '*';
 			break;
@@ -252,7 +252,7 @@ main(int argc, char *argv[])
 		case 'm': parse(optarg, month, sizeof month, -1); break;
 		case 'w': parse(optarg, weekday, sizeof weekday, 0);
 			// special case: sunday is both 0 and 7.
-			if (weekday[7] == '*') 
+			if (weekday[7] == '*')
 				weekday[0] = '*';
 			break;
 		case 'n': nflag++; break;