mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Take spaces into account better
This commit is contained in:
@@ -2463,7 +2463,7 @@ namespace SabreTools.Library.DatFiles
|
|||||||
// If the key mapping doesn't exist, add it
|
// If the key mapping doesn't exist, add it
|
||||||
if (!mapping.ContainsKey(item.MachineName))
|
if (!mapping.ContainsKey(item.MachineName))
|
||||||
{
|
{
|
||||||
mapping.TryAdd(item.MachineName, item.MachineDescription.Replace('/', '_').Replace("\"", "''").Replace(":", " - "));
|
mapping.TryAdd(item.MachineName, item.MachineDescription.Replace('/', '_').Replace("\"", "''").Replace(":", " -"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user