mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-10-14 02:44:58 +08:00
fix bug with endstream appearing without line break
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user