diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-07-04 15:25:59 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-07-04 15:25:59 +0000 |
| commit | 60437ac397d41678daba5daece227240e8ddd364 (patch) | |
| tree | 31f18c8296ffde9122492b46623375fc98585b17 /src/2geom/coord.cpp | |
| parent | 2Geom CMake adjustment (diff) | |
| download | inkscape-60437ac397d41678daba5daece227240e8ddd364.tar.gz inkscape-60437ac397d41678daba5daece227240e8ddd364.zip | |
Upgrade to 2Geom r2413
(bzr r14059.2.18)
Diffstat (limited to 'src/2geom/coord.cpp')
| -rw-r--r-- | src/2geom/coord.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/coord.cpp b/src/2geom/coord.cpp index 9ee8066f2..8b5e28586 100644 --- a/src/2geom/coord.cpp +++ b/src/2geom/coord.cpp @@ -3656,7 +3656,7 @@ std::string format_coord_nice(Coord x) { static DoubleToStringConverter conv( DoubleToStringConverter::UNIQUE_ZERO, - "Inf", "NaN", 'e', -6, 21, 0, 0); + "inf", "NaN", 'e', -6, 21, 0, 0); std::string ret; ret.reserve(32); conv.ToShortest(x, ret); @@ -3669,7 +3669,7 @@ Coord parse_coord(std::string const &s) StringToDoubleConverter::ALLOW_LEADING_SPACES | StringToDoubleConverter::ALLOW_TRAILING_SPACES | StringToDoubleConverter::ALLOW_SPACES_AFTER_SIGN, - 0.0, nan(""), "Inf", "NaN"); + 0.0, nan(""), "inf", "NaN"); int dummy; return conv.StringToDouble(s.c_str(), s.length(), &dummy); } |
