Typo in Reader.pm #2033

This commit is contained in:
Alessandro Ranellucci 2014-11-30 20:26:00 +01:00
parent 80adf9e5d0
commit 0d3c4a160f

View file

@ -50,7 +50,7 @@ sub parse {
if ($command =~ /^G[01]$/) {
foreach my $axis (@AXES) {
if (exists $args{$axis}) {
$self->$axis = 0 if $axis eq 'E' && $self->config->use_relative_e_distances;
$self->$axis(0) if $axis eq 'E' && $self->config->use_relative_e_distances;
$info{"dist_$axis"} = $args{$axis} - $self->$axis;
$info{"new_$axis"} = $args{$axis};
} else {