summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>1999-01-30 21:39:13 +0000
committerSimon Tatham <anakin@pobox.com>1999-01-30 21:39:13 +0000
commitfbf17205a84d846d0db1c636e86e25fd2dbdb485 (patch)
tree34eeb3608123a8d9fbe6f7fd136442ddbaae1918
parentf91811f57de0561cc7c8efb5897a6b62f5c0e0b2 (diff)
downloadhalibut-fbf17205a84d846d0db1c636e86e25fd2dbdb485.zip
halibut-fbf17205a84d846d0db1c636e86e25fd2dbdb485.tar.gz
halibut-fbf17205a84d846d0db1c636e86e25fd2dbdb485.tar.bz2
halibut-fbf17205a84d846d0db1c636e86e25fd2dbdb485.tar.xz
Fixed silly mistake in the read-character routine
[originally from svn r23]
-rw-r--r--input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input.c b/input.c
index dc745f1..9dc524c 100644
--- a/input.c
+++ b/input.c
@@ -25,7 +25,8 @@ static int get(input *in) {
in->currindex++;
}
return c;
- }
+ } else
+ return EOF;
}
paragraph *read_input(input *in) {