From 9c697370734e9a0e1b3c99e7fc7698fe5d4bd081 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 28 Jul 2025 21:23:18 -0400 Subject: [PATCH] Fix comments to make more sense --- SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs index c3633441..b6a200ef 100644 --- a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs +++ b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs @@ -572,7 +572,7 @@ namespace SabreTools.Serialization.Wrappers bool spanPrev = Array.Exists(files, f => f.FolderIndex == FolderIndex.CONTINUED_FROM_PREV || f.FolderIndex == FolderIndex.CONTINUED_PREV_AND_NEXT); bool spanNext = Array.Exists(files, f => f.FolderIndex == FolderIndex.CONTINUED_TO_NEXT || f.FolderIndex == FolderIndex.CONTINUED_PREV_AND_NEXT); - // Check if the folder spans backward + // If the folder spans backward and Prev is not being skipped CFDATA[] prevBlocks = []; if (!skipPrev && spanPrev) { @@ -589,7 +589,7 @@ namespace SabreTools.Serialization.Wrappers } } - // Check if the folder spans forward + // If the folder spans forward and Next is not being skipped CFDATA[] nextBlocks = []; if (!skipNext && spanNext) {