* Fix by Marco van de Voort to enable #13#10

This commit is contained in:
michael 1999-05-31 10:08:36 +00:00
parent b0bdd46ee1
commit 5005e5d9ef

View File

@ -474,10 +474,11 @@ Function ReadChar (S : PStream) : Char;
Var C : Char; Var C : Char;
begin begin
repeat
S^.Read(C,1); S^.Read(C,1);
If S^.Status=stReadError then If S^.Status=stReadError then
ReadChar:=#0 C:=#0;
else Until C<>#13;
ReadChar:=C; ReadChar:=C;
end; end;
@ -1187,7 +1188,10 @@ end.
{ {
$Log$ $Log$
Revision 1.1 1999-05-12 16:11:39 peter Revision 1.2 1999-05-31 10:08:36 michael
* Fix by Marco van de Voort to enable #13#10
Revision 1.1 1999/05/12 16:11:39 peter
* moved * moved
Revision 1.4 1999/05/03 18:03:15 peter Revision 1.4 1999/05/03 18:03:15 peter