|
@@ -52,14 +52,13 @@ static bool readDouble(double &output, const char *&pathDef) {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
-static bool consumeOptionalComma(const char *&pathDef) {
|
|
|
|
|
|
+static void consumeOptionalComma(const char *&pathDef) {
|
|
while (*pathDef == ' ') {
|
|
while (*pathDef == ' ') {
|
|
++pathDef;
|
|
++pathDef;
|
|
}
|
|
}
|
|
if (*pathDef == ',') {
|
|
if (*pathDef == ',') {
|
|
++pathDef;
|
|
++pathDef;
|
|
}
|
|
}
|
|
- return true;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
static bool buildFromPath(Shape &shape, const char *pathDef) {
|
|
static bool buildFromPath(Shape &shape, const char *pathDef) {
|