improved formatting in FIO_decompressSrcFile
This commit is contained in:
+1
-2
@@ -721,7 +721,7 @@ static int FIO_decompressSrcFile(dRess_t ress, const char* srcFileName)
|
|||||||
/* for each frame */
|
/* for each frame */
|
||||||
for ( ; ; ) {
|
for ( ; ; ) {
|
||||||
/* check magic number -> version */
|
/* check magic number -> version */
|
||||||
{ size_t const toRead = 4;
|
size_t const toRead = 4;
|
||||||
size_t const sizeCheck = fread(ress.srcBuffer, (size_t)1, toRead, srcFile);
|
size_t const sizeCheck = fread(ress.srcBuffer, (size_t)1, toRead, srcFile);
|
||||||
const BYTE* buf = (const BYTE*)ress.srcBuffer;
|
const BYTE* buf = (const BYTE*)ress.srcBuffer;
|
||||||
if (sizeCheck==0) {
|
if (sizeCheck==0) {
|
||||||
@@ -753,7 +753,6 @@ static int FIO_decompressSrcFile(dRess_t ress, const char* srcFileName)
|
|||||||
filesize += FIO_decompressFrame(ress, dstFile, srcFile, toRead, filesize);
|
filesize += FIO_decompressFrame(ress, dstFile, srcFile, toRead, filesize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Final Status */
|
/* Final Status */
|
||||||
DISPLAYLEVEL(2, "\r%79s\r", "");
|
DISPLAYLEVEL(2, "\r%79s\r", "");
|
||||||
|
|||||||
Reference in New Issue
Block a user