mirror of
https://github.com/zeux/pugixml.git
synced 2025-01-03 01:55:25 +08:00
XPath: Use strtod instead of atof
This makes code more consistent between wchar/utf8 mode.
This commit is contained in:
parent
e2358e5e3b
commit
243839012a
@ -8089,7 +8089,7 @@ PUGI__NS_BEGIN
|
||||
#ifdef PUGIXML_WCHAR_MODE
|
||||
return wcstod(string, 0);
|
||||
#else
|
||||
return atof(string);
|
||||
return strtod(string, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user