mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-08-10 09:59:18 +00:00
Consolidate field string checks (fixes #141)
This commit is contained in:
@@ -15,7 +15,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
return null;
|
||||
|
||||
string name = pex.InternalName;
|
||||
if (!string.IsNullOrWhiteSpace(name) && name.Equals("CDKey", StringComparison.OrdinalIgnoreCase))
|
||||
if (name?.Equals("CDKey", StringComparison.OrdinalIgnoreCase) == true)
|
||||
return "CD-Key / Serial";
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user