mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-24 10:38:02 +02:00
Fix PendingNewlineCheck
This commit is contained in:
parent
3a4b22c6b1
commit
f070c3e0d2
1 changed files with 2 additions and 2 deletions
|
@ -501,9 +501,9 @@ namespace System.IO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((mPendingNewlineCheck) && (mCharPos < mCharLen))
|
if (mPendingNewlineCheck)
|
||||||
{
|
{
|
||||||
if (mCharBuffer[mCharPos] == '\n') mCharPos++;
|
if (mCharPos == 0 && mCharBuffer[mCharPos] == '\n') mCharPos++;
|
||||||
mPendingNewlineCheck = false;
|
mPendingNewlineCheck = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue