From 2fdc77986386670d00a8909e10963a4720a84066 Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 26 May 2013 14:49:36 +0000 Subject: [PATCH] *Core: Fixed bug in Stream::Put(Stream&..) git-svn-id: svn://ultimatepp.org/upp/trunk@6101 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Stream.cpp b/uppsrc/Core/Stream.cpp index b20795556..3933992f1 100644 --- a/uppsrc/Core/Stream.cpp +++ b/uppsrc/Core/Stream.cpp @@ -455,7 +455,7 @@ void Stream::Put(Stream& s, int64 size, dword click) { dword n = s.Get(buffer, (int)min(click, size)); if(n == 0) break; - Put(buffer.operator const byte *(), click); + Put(~buffer, n); size -= n; } }