Fix the fix for the critical bug

This commit is contained in:
Matt Nadareski
2024-10-27 23:22:56 -04:00
parent 349346309a
commit 929dc28b6e

View File

@@ -176,9 +176,9 @@ namespace SabreTools.Core.Tools
// Otherwise, make sure that every character is a proper match // Otherwise, make sure that every character is a proper match
#if NET7_0_OR_GREATER #if NET7_0_OR_GREATER
if (!hash.Any(c => char.IsAsciiHexDigit(c))) if (hash.Any(c => !char.IsAsciiHexDigit(c)))
#else #else
if (!hash.Any(c => c.IsAsciiHexDigit())) if (hash.Any(c => !c.IsAsciiHexDigit()))
#endif #endif
hash = string.Empty; hash = string.Empty;