mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 06:07:12 -06:00
4.54 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
051769bbc5
commit
b82f80647d
@@ -25,7 +25,16 @@ public:
|
||||
return false;
|
||||
pos += _bufferSize;
|
||||
}
|
||||
do
|
||||
if (_limitPos - _pos > len && _bufferSize - pos > len)
|
||||
{
|
||||
const Byte *src = _buffer + pos;
|
||||
Byte *dest = _buffer + _pos;
|
||||
_pos += len;
|
||||
do
|
||||
*dest++ = *src++;
|
||||
while(--len != 0);
|
||||
}
|
||||
else do
|
||||
{
|
||||
if (pos == _bufferSize)
|
||||
pos = 0;
|
||||
|
||||
Reference in New Issue
Block a user