[DatFile] Make warning more accurate

This commit is contained in:
Matt Nadareski
2017-03-14 23:15:53 -07:00
parent bee4a63933
commit b71951ccd6

View File

@@ -2969,7 +2969,7 @@ namespace SabreTools.Helper.Dats
// If the name ends with a directory separator, we log and skip it (DOSCenter only?) // If the name ends with a directory separator, we log and skip it (DOSCenter only?)
if (item.Name.EndsWith("/") || item.Name.EndsWith("\\")) if (item.Name.EndsWith("/") || item.Name.EndsWith("\\"))
{ {
Globals.Logger.Warning("Rom with directory separator found: '" + item.Name + "'. Skipping..."); Globals.Logger.Warning("Rom ending with directory separator found: '" + item.Name + "'. Skipping...");
return; return;
} }