From 144a3ce52bfd1dccc119438d883c36cbb974f3fd Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 29 Jul 2025 22:45:15 -0400 Subject: [PATCH] Fix CFB comments --- SabreTools.Models/CFB/DirectoryEntry.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SabreTools.Models/CFB/DirectoryEntry.cs b/SabreTools.Models/CFB/DirectoryEntry.cs index 8f3817b..21acefd 100644 --- a/SabreTools.Models/CFB/DirectoryEntry.cs +++ b/SabreTools.Models/CFB/DirectoryEntry.cs @@ -22,18 +22,18 @@ namespace SabreTools.Models.CFB [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)] public string? Name; - /// - /// This field MUST be 0x00, 0x01, 0x02, or 0x05, depending on the - /// actual type of object. All other values are not valid. - /// - public ushort NameLength; - /// /// This field MUST match the length of the Directory Entry Name Unicode /// string in bytes. The length MUST be a multiple of 2 and include the /// terminating null character in the count. This length MUST NOT exceed 64, /// the maximum size of the Directory Entry Name field. /// + public ushort NameLength; + + /// + /// This field MUST be 0x00, 0x01, 0x02, or 0x05, depending on the + /// actual type of object. All other values are not valid. + /// [MarshalAs(UnmanagedType.U1)] public ObjectType ObjectType;