aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorribet2009-12-15 13:27:52 +0000
committerribet2009-12-15 13:27:52 +0000
commit2e4df05af0308bfa4356010cbb67201690fcb64b (patch)
treedb13d359c516c1092cbe9fa0c016a05014692a8d /src
parent90d6d31a7e053579f584c3fbc2491dcacdde7855 (diff)
downloadmtc-2e4df05af0308bfa4356010cbb67201690fcb64b.zip
mtc-2e4df05af0308bfa4356010cbb67201690fcb64b.tar.gz
mtc-2e4df05af0308bfa4356010cbb67201690fcb64b.tar.bz2
mtc-2e4df05af0308bfa4356010cbb67201690fcb64b.tar.xz
Correction d'un bug avec les polyline.
Diffstat (limited to 'src')
-rw-r--r--src/SVG/SVG2zinc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SVG/SVG2zinc.pm b/src/SVG/SVG2zinc.pm
index 09d577b..54126fe 100644
--- a/src/SVG/SVG2zinc.pm
+++ b/src/SVG/SVG2zinc.pm
@@ -1210,7 +1210,7 @@ sub polyline {
}
%attrs = &expandAttributes ($elementname,%attrs);
my ($name,$natural) = &name ($elementname, $attrs{id});
- my $res = printFindKey ($name)."\$previous ->add('curve',$current_group,[" . &points(\%attrs);
+ my $res = printFindKey ($name)."\$previous = ->add('curve',$current_group,[" . &points(\%attrs);
$res .= "]";
$res .= ", -tags => ['polyline',$name]" if ($natural or $attrs{transform});
$res .= ", -priority => 10";