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
|
#ifdef PUGIXML_WCHAR_MODE
|
||||||
return wcstod(string, 0);
|
return wcstod(string, 0);
|
||||||
#else
|
#else
|
||||||
return atof(string);
|
return strtod(string, 0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user