mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
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:
parent
9b5549b73d
commit
561bdbf591
1 changed files with 1 additions and 1 deletions
|
|
@ -10,13 +10,13 @@ InFilterStream::InFilterStream()
|
||||||
void InFilterStream::Init()
|
void InFilterStream::Init()
|
||||||
{
|
{
|
||||||
static byte h[1];
|
static byte h[1];
|
||||||
ptr = rdlim = h;
|
|
||||||
pos = 0;
|
pos = 0;
|
||||||
in = NULL;
|
in = NULL;
|
||||||
eof = false;
|
eof = false;
|
||||||
style = STRM_READ|STRM_LOADING;
|
style = STRM_READ|STRM_LOADING;
|
||||||
SetLoading();
|
SetLoading();
|
||||||
buffer.Clear();
|
buffer.Clear();
|
||||||
|
ptr = rdlim = Stream::buffer = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
dword InFilterStream::Avail()
|
dword InFilterStream::Avail()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue