Skip to content

Commit fda9a39

Browse files
committed
Small formatting changes to BZip2
1 parent 2a93808 commit fda9a39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/BZip2/BZip2InputStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ void SetupNoRandPartC()
908908

909909
void SetDecompressStructureSizes(int newSize100k)
910910
{
911-
if (!(0 <= newSize100k && newSize100k <= 9 && 0 <= blockSize100k && blockSize100k <= 9)) {
911+
if (!(0 <= newSize100k && newSize100k <= 9 && 0 <= blockSize100k && blockSize100k <= 9)) {
912912
throw new BZip2Exception("Invalid block size");
913913
}
914914

src/BZip2/BZip2OutputStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ void InitBlock()
556556

557557
void EndBlock()
558558
{
559-
if (last < 0) { //-jr- dont do anything for empty files, (makes empty files compatible with original Bzip)
559+
if (last < 0) { // dont do anything for empty files, (makes empty files compatible with original Bzip)
560560
return;
561561
}
562562

0 commit comments

Comments
 (0)