Fixed fatal bug

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1542 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-04-23 17:10:34 +00:00
parent 4563fa0dc9
commit 20c6001a72
1 changed files with 2 additions and 3 deletions

View File

@ -5941,9 +5941,8 @@ function BatchCommand(text) {
case 3: // relative move (m) case 3: // relative move (m)
// If the last segment was a "z", this must be relative to // If the last segment was a "z", this must be relative to
if(last_m && segList.getItem(i-1).pathSegType === 1 && !toRel) { if(last_m && segList.getItem(i-1).pathSegType === 1 && !toRel) {
curx = last_m[0]; curx = last_m[0];
cury = last_m[1]; cury = last_m[1];
}
} }
case 19: // relative smooth quad (t) case 19: // relative smooth quad (t)