diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pugixml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp index ea6514b..e166142 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -4440,7 +4440,7 @@ PUGI__NS_BEGIN bool negative = (*s == '-'); - s += negative; + s += (*s == '+' || *s == '-'); bool overflow = false; |