fix bug with endstream appearing without line break

This commit is contained in:
Eliot Jones
2018-01-20 11:53:24 +00:00
parent c5e3ce7ec7
commit 3d2a66cbf9
2 changed files with 5 additions and 9 deletions

View File

@@ -215,14 +215,7 @@
// We are reading 'end' (possibly).
if (commonPartPosition < commonPart.Length && inputBytes.CurrentByte == commonPart[commonPartPosition])
{
if (commonPartPosition == 0 && !ReadHelper.IsWhitespace(previousByte))
{
// We've just encountered a normal 'e' in the stream.
}
else
{
commonPartPosition++;
}
commonPartPosition++;
}
else if (commonPartPosition == commonPart.Length)
{