Fix Issue 445: turn booleans back into numbers for arc path commands

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1288 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2010-01-28 02:37:53 +00:00
parent 9fa41f7d3f
commit b0d13610bb
1 changed files with 2 additions and 2 deletions

View File

@ -1654,8 +1654,8 @@ function BatchCommand(text) {
break; break;
case 11: // relative elliptical arc (a) case 11: // relative elliptical arc (a)
case 10: // absolute elliptical arc (A) case 10: // absolute elliptical arc (A)
dstr += seg.r1 + "," + seg.r2 + " " + seg.angle + " " + seg.largeArcFlag + dstr += seg.r1 + "," + seg.r2 + " " + seg.angle + " " + Number(seg.largeArcFlag) +
" " + seg.sweepFlag + " " + seg.x + "," + seg.y + " "; " " + Number(seg.sweepFlag) + " " + seg.x + "," + seg.y + " ";
break; break;
case 17: // relative smooth cubic (s) case 17: // relative smooth cubic (s)
case 16: // absolute smooth cubic (S) case 16: // absolute smooth cubic (S)