Index: src/utils/SkParsePath.cpp |
diff --git a/src/utils/SkParsePath.cpp b/src/utils/SkParsePath.cpp |
index 8f571f90516eeaf11f57d7a0519964c92982d2ff..c924661907f2fe9394d55f443b19dce90d1d7d03 100644 |
--- a/src/utils/SkParsePath.cpp |
+++ b/src/utils/SkParsePath.cpp |
@@ -91,7 +91,7 @@ bool SkParsePath::FromSVGString(const char data[], SkPath* result) { |
break; |
} |
char ch = data[0]; |
- if (is_digit(ch) || ch == '-' || ch == '+') { |
+ if (is_digit(ch) || ch == '-' || ch == '+' || ch == '.') { |
if (op == '\0') { |
return false; |
} |