[DatFile] Take spaces into account better

This commit is contained in:
Matt Nadareski
2018-03-01 12:03:04 -08:00
parent 4007fb88d0
commit fe03a72d85

View File

@@ -2463,7 +2463,7 @@ namespace SabreTools.Library.DatFiles
// If the key mapping doesn't exist, add it
if (!mapping.ContainsKey(item.MachineName))
{
mapping.TryAdd(item.MachineName, item.MachineDescription.Replace('/', '_').Replace("\"", "''").Replace(":", " - "));
mapping.TryAdd(item.MachineName, item.MachineDescription.Replace('/', '_').Replace("\"", "''").Replace(":", " -"));
}
}
});