Core: Fix of initial GetPos in InFilterStream

git-svn-id: svn://ultimatepp.org/upp/trunk@7794 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-10-16 21:20:14 +00:00
parent 9b5549b73d
commit 561bdbf591

View file

@ -10,13 +10,13 @@ InFilterStream::InFilterStream()
void InFilterStream::Init()
{
static byte h[1];
ptr = rdlim = h;
pos = 0;
in = NULL;
eof = false;
style = STRM_READ|STRM_LOADING;
SetLoading();
buffer.Clear();
ptr = rdlim = Stream::buffer = NULL;
}
dword InFilterStream::Avail()