Fix indentation

This commit is contained in:
sin 2013-11-14 13:22:17 +00:00
parent 078fce3f77
commit ee8084cec0

6
nl.c
View File

@ -70,9 +70,9 @@ nl(FILE *fp)
while(afgets(&buf, &size, fp)) { while(afgets(&buf, &size, fp)) {
if((mode == 'a') if((mode == 'a')
|| (mode == 'p' || (mode == 'p'
&& !regexec(&preg, buf, 0, NULL, 0)) && !regexec(&preg, buf, 0, NULL, 0))
|| (mode == 't' && buf[0] != '\n')) { || (mode == 't' && buf[0] != '\n')) {
printf("%6ld%s%s", n += incr, sep, buf); printf("%6ld%s%s", n += incr, sep, buf);
} else { } else {
printf(" %s", buf); printf(" %s", buf);