*Core: Fixed bug in Stream::Put(Stream&..)

git-svn-id: svn://ultimatepp.org/upp/trunk@6101 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-05-26 14:49:36 +00:00
parent f2c036c312
commit 2fdc779863

View file

@ -455,7 +455,7 @@ void Stream::Put(Stream& s, int64 size, dword click) {
dword n = s.Get(buffer, (int)min<int64>(click, size));
if(n == 0)
break;
Put(buffer.operator const byte *(), click);
Put(~buffer, n);
size -= n;
}
}