summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 07f3a33..2ad2f15 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -4448,7 +4448,7 @@ PUGI__NS_BEGIN
if (*s == '-')
s++;
- return (s[0] == '0' && (s[1] == 'x' || s[1] == 'X')) ? 16 : 10;
+ return (s[0] == '0' && (s[1] | ' ') == 'x') ? 16 : 10;
}
PUGI__FN int get_value_int(const char_t* value)