commit ee8084cec0a5995fe455d4ce6b49a515da999f40
parent 078fce3f77ff56dfd7d8824333302b9f435ec717
Author: sin <sin@2f30.org>
Date: Thu, 14 Nov 2013 13:22:17 +0000
Fix indentation
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nl.c b/nl.c
@@ -70,9 +70,9 @@ nl(FILE *fp)
while(afgets(&buf, &size, fp)) {
if((mode == 'a')
- || (mode == 'p'
- && !regexec(&preg, buf, 0, NULL, 0))
- || (mode == 't' && buf[0] != '\n')) {
+ || (mode == 'p'
+ && !regexec(&preg, buf, 0, NULL, 0))
+ || (mode == 't' && buf[0] != '\n')) {
printf("%6ld%s%s", n += incr, sep, buf);
} else {
printf(" %s", buf);