Stream.st
changeset 19884 e2af0c5af2b4
parent 19648 74ab0702d0a7
child 19889 9d79440bb826
--- a/Stream.st	Thu May 19 10:34:56 2016 +0200
+++ b/Stream.st	Thu May 19 10:40:56 2016 +0200
@@ -3465,7 +3465,7 @@
             (answerStream contents endsWith:aCollection) ifTrue:[
                 |pos|
                 pos := answerStream position.
-                answerStream resetPosition.
+                answerStream reset.
                 ^ answerStream next:pos-aCollection size.
             ]
         ].