diff options
author | crupest <crupest@outlook.com> | 2022-03-09 23:12:26 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-09 23:12:26 +0800 |
commit | dceef749139061fdac4946df77219f1cc8aa6483 (patch) | |
tree | 0b413e605183226034fdaf342adfd6dc5e8fc08e /src/platform/graphics | |
parent | 78f5221e8fbab510bb8b5ac268b7d42bed762961 (diff) | |
download | cru-dceef749139061fdac4946df77219f1cc8aa6483.tar.gz cru-dceef749139061fdac4946df77219f1cc8aa6483.tar.bz2 cru-dceef749139061fdac4946df77219f1cc8aa6483.zip |
...
Diffstat (limited to 'src/platform/graphics')
-rw-r--r-- | src/platform/graphics/Geometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/graphics/Geometry.cpp b/src/platform/graphics/Geometry.cpp index 32ba0d6d..c215ad30 100644 --- a/src/platform/graphics/Geometry.cpp +++ b/src/platform/graphics/Geometry.cpp @@ -193,7 +193,7 @@ void IGeometryBuilder::ParseAndApplySvgPathData(StringView path_d) { Index processed_count = 0; auto result = path_d.substr(position).ParseToFloat( - &processed_count, StringToFloatFlags::kAllowTrailingJunk); + &processed_count, StringToNumberFlags::kAllowTrailingJunk); if (std::isnan(result)) throw Exception(u"Invalid svg path data number."); |