mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Follow suggested cleanup from VS
This commit is contained in:
@@ -58,8 +58,8 @@ namespace SabreTools.Library.DatFiles
|
||||
switch (xtr.Name)
|
||||
{
|
||||
case "softwarelist":
|
||||
Header.Name = (Header.Name == null ? xtr.GetAttribute("name") ?? string.Empty : Header.Name);
|
||||
Header.Description = (Header.Description == null ? xtr.GetAttribute("description") ?? string.Empty : Header.Description);
|
||||
Header.Name = Header.Name ?? xtr.GetAttribute("name") ?? string.Empty;
|
||||
Header.Description = Header.Description ?? xtr.GetAttribute("description") ?? string.Empty;
|
||||
|
||||
xtr.Read();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user