REFACTOR: Use string interpolation expression.

This commit is contained in:
2017-12-21 17:58:51 +00:00
parent a895700757
commit 4e6e8f340a
182 changed files with 766 additions and 1256 deletions

View File

@@ -171,7 +171,7 @@ namespace DiscImageChef.Partitions
};
if(old_entry.pdFSID == HFS_MAGIC_OLD) part.Type = "Apple_HFS";
else part.Type = string.Format("0x{0:X8}", old_entry.pdFSID);
else part.Type = $"0x{old_entry.pdFSID:X8}";
partitions.Add(part);