Merge pull request #56 from deanm/master

Fix relative T/t path commands.  Typo from S/s command.
This commit is contained in:
Mikko Mononen 2016-01-23 23:38:30 +02:00
commit 116371a50b

View File

@ -2177,7 +2177,7 @@ static void nsvg__parsePath(NSVGparser* p, const char** attr)
break; break;
case 'T': case 'T':
case 't': case 't':
nsvg__pathQuadBezShortTo(p, &cpx, &cpy, &cpx2, &cpy2, args, cmd == 's' ? 1 : 0); nsvg__pathQuadBezShortTo(p, &cpx, &cpy, &cpx2, &cpy2, args, cmd == 't' ? 1 : 0);
break; break;
case 'A': case 'A':
case 'a': case 'a':