Change ',' to '.' everywhere in buffer. * * We had a sophisticated way, but it did not work in WinCE. * @see https://github.com/open-source-parsers/jsoncpp/pull/9 */
| 178 | * @see https://github.com/open-source-parsers/jsoncpp/pull/9 |
| 179 | */ |
| 180 | static inline void fixNumericLocale(char* begin, char* end) { |
| 181 | while (begin < end) { |
| 182 | if (*begin == ',') { |
| 183 | *begin = '.'; |
| 184 | } |
| 185 | ++begin; |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | static inline void fixNumericLocaleInput(char* begin, char* end) { |
| 190 | char decimalPoint = getDecimalPoint(); |