Some minor fixes related to polyline refactoring

This commit is contained in:
Alessandro Ranellucci 2012-01-27 14:29:06 +01:00
parent d63fd77da4
commit 4ade11b26e
3 changed files with 5 additions and 5 deletions

View file

@ -137,7 +137,7 @@ sub is_printable {
sub is_valid {
my $self = shift;
return @{$self->points} >= 3;
return @$self >= 3;
}
1;