aboutsummaryrefslogtreecommitdiffstats
path: root/follow.c
diff options
context:
space:
mode:
Diffstat (limited to 'follow.c')
-rw-r--r--follow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/follow.c b/follow.c
index a9eb087..09456c9 100644
--- a/follow.c
+++ b/follow.c
@@ -1,6 +1,6 @@
/*
* follow.c -- interactively print an ASCII file.
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -135,8 +135,8 @@ int main(int argc, char *argv[]) {
FILE *f;
char c = 0, buf[512];
int d;
-
- if (argc < 2) {
+
+ if (argc < 2) {
fprintf(stderr, "needed a file name\n");
exit(0);
}
@@ -145,7 +145,7 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "unable to open %s\n", argv[1]);
exit(0);
}
-
+
set_terminal();
while(c!=0x1b) {
read(0, &c, 1);