mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
*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:
parent
f2c036c312
commit
2fdc779863
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue