Skip to content

Commit 9c69737

Browse files
committed
Fix comments to make more sense
1 parent 66187dc commit 9c69737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ private static CompressionType GetCompressionType(CFFOLDER folder)
572572
bool spanPrev = Array.Exists(files, f => f.FolderIndex == FolderIndex.CONTINUED_FROM_PREV || f.FolderIndex == FolderIndex.CONTINUED_PREV_AND_NEXT);
573573
bool spanNext = Array.Exists(files, f => f.FolderIndex == FolderIndex.CONTINUED_TO_NEXT || f.FolderIndex == FolderIndex.CONTINUED_PREV_AND_NEXT);
574574

575-
// Check if the folder spans backward
575+
// If the folder spans backward and Prev is not being skipped
576576
CFDATA[] prevBlocks = [];
577577
if (!skipPrev && spanPrev)
578578
{
@@ -589,7 +589,7 @@ private static CompressionType GetCompressionType(CFFOLDER folder)
589589
}
590590
}
591591

592-
// Check if the folder spans forward
592+
// If the folder spans forward and Next is not being skipped
593593
CFDATA[] nextBlocks = [];
594594
if (!skipNext && spanNext)
595595
{

0 commit comments

Comments
 (0)