Commit 31040fde authored by PhoeniX's avatar PhoeniX

SVG path parser fix

parent 52acb03a
......@@ -48,11 +48,11 @@
cmd = [NSString stringWithCharacters:&lastCmd length:1];
} else {
NSLog(@"Unknown character: %@",[string substringWithRange:(NSRange){scanner.scanLocation,1}]);
break;
}
break;
}
lastCmd = [cmd characterAtIndex:0];
switch ([cmd characterAtIndex:0]) {
switch (lastCmd) {
case 'M':
[bp moveToPoint:p = [scanner scanCGPoint]];
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment