From fbf17205a84d846d0db1c636e86e25fd2dbdb485 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 30 Jan 1999 21:39:13 +0000 Subject: Fixed silly mistake in the read-character routine [originally from svn r23] --- input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'input.c') 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) { -- cgit v1.1