Use new file+MemBuffer methods.

committer: mfx <mfx> 1042576321 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-01-14 20:32:01 +00:00
parent ec5840fb2a
commit a709b38065
+2 -2
View File
@@ -508,8 +508,8 @@ void Packer::copyOverlay(OutputFile *fo, unsigned overlay,
do {
unsigned len = overlay < buf_size ? overlay : buf_size;
fi->readx(*buf, len);
fo->write(*buf, len);
fi->readx(buf, len);
fo->write(buf, len);
overlay -= len;
} while (overlay > 0);
}