author | Claus Gittinger <cg@exept.de> |
Tue, 08 May 2018 20:20:43 +0200 | |
changeset 22800 | 80923ef07646 |
parent 22799 | 5cc8b7ebdd62 |
child 22801 | f80f5a96484a |
--- a/ReadWriteStream.st Tue May 08 20:01:24 2018 +0200 +++ b/ReadWriteStream.st Tue May 08 20:20:43 2018 +0200 @@ -130,7 +130,9 @@ Because I am a read/write stream, the readLimit is set to the current write position. Thus, the just written data can be read back." - readLimit := position max:readLimit. + readLimit notNil ifTrue:[ + readLimit := position max:readLimit. + ]. position := 0. !