REFACTOR: Final cleanup of DiscImageChef.Partitions.

This commit is contained in:
2017-12-24 03:11:33 +00:00
parent 9dda52522c
commit 3f628cd3c9
19 changed files with 1638 additions and 1620 deletions

View File

@@ -79,9 +79,9 @@ namespace DiscImageChef.Partitions
Name = entry.p_stor_uuid.ToString(),
Sequence = counter,
Scheme = Name,
Type = (BSD.fsType) entry.p_fstype == BSD.fsType.Other
Type = (BSD.fsType)entry.p_fstype == BSD.fsType.Other
? entry.p_type_uuid.ToString()
: BSD.fsTypeToString((BSD.fsType) entry.p_fstype)
: BSD.fsTypeToString((BSD.fsType)entry.p_fstype)
};
if(entry.p_bsize % imagePlugin.GetSectorSize() > 0) part.Length++;