StringUtil: Fix typo

This commit is contained in:
Stenzek 2024-09-09 00:35:12 +10:00
parent 41ff2ec5ee
commit eb34f7f54f
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -210,8 +210,8 @@ std::string EncodeHex(const u8* data, int length);
template<typename T>
ALWAYS_INLINE static bool IsHexDigit(T ch)
{
return ((ch >= static_cast<T>('a') && ch <= static_cast<T>('a')) ||
(ch >= static_cast<T>('A') && ch <= static_cast<T>('Z')) ||
return ((ch >= static_cast<T>('a') && ch <= static_cast<T>('f')) ||
(ch >= static_cast<T>('A') && ch <= static_cast<T>('F')) ||
(ch >= static_cast<T>('0') && ch <= static_cast<T>('9')));
}