From 561bdbf591865946e88ebd343ab57c4637c16c6d Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 16 Oct 2014 21:20:14 +0000 Subject: [PATCH] Core: Fix of initial GetPos in InFilterStream git-svn-id: svn://ultimatepp.org/upp/trunk@7794 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/FilterStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/FilterStream.cpp b/uppsrc/Core/FilterStream.cpp index 14281da70..423e35ed5 100644 --- a/uppsrc/Core/FilterStream.cpp +++ b/uppsrc/Core/FilterStream.cpp @@ -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()