1
0
mirror of synced 2025-12-11 01:22:25 +03:00
This commit is contained in:
yhirose
2025-12-05 08:50:12 -05:00
parent dbd5ca4bf2
commit 27b73f050e

View File

@@ -2931,7 +2931,7 @@ inline bool is_field_value(const std::string &s) { return is_field_content(s); }
namespace detail {
inline bool is_hex(char c, int &v) {
if (0x20 <= c && isdigit(c)) {
if (isdigit(c)) {
v = c - '0';
return true;
} else if ('A' <= c && c <= 'F') {