mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] Update string check; add output path helper
This commit is contained in:
@@ -186,13 +186,13 @@ namespace SabreTools.Library.DatFiles
|
||||
switch (columns[i])
|
||||
{
|
||||
case "DatFile.FileName":
|
||||
FileName = (String.IsNullOrEmpty(FileName) ? value : FileName);
|
||||
FileName = (String.IsNullOrWhiteSpace(FileName) ? value : FileName);
|
||||
break;
|
||||
case "DatFile.Name":
|
||||
Name = (String.IsNullOrEmpty(Name) ? value : Name);
|
||||
Name = (String.IsNullOrWhiteSpace(Name) ? value : Name);
|
||||
break;
|
||||
case "DatFile.Description":
|
||||
Description = (String.IsNullOrEmpty(Description) ? value : Description);
|
||||
Description = (String.IsNullOrWhiteSpace(Description) ? value : Description);
|
||||
break;
|
||||
case "Machine.Name":
|
||||
machineName = value;
|
||||
|
||||
Reference in New Issue
Block a user