Formatting changes.

This commit is contained in:
Flint O'Brien
2016-05-04 09:54:20 -04:00
parent 87e25e9d2c
commit 6023bd6f5a
4 changed files with 94 additions and 94 deletions

View File

@@ -1211,10 +1211,10 @@ function pathDSegment(letter, points, morePoints, lastPoint) {
points[i] = svgedit.units.shortFloat(pnt);
});
var segment = letter + points.join(' ');
if( morePoints) {
if (morePoints) {
segment += ' ' + morePoints.join(' ');
}
if( lastPoint) {
if (lastPoint) {
segment += ' ' + svgedit.units.shortFloat(lastPoint);
}
return segment;