From 2150c1b9487fd691f4f971ae91c4cf8f68f21fbb Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 26 Sep 2010 22:11:20 +0200 Subject: Bad length conversion --- psresize2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'psresize2.pl') diff --git a/psresize2.pl b/psresize2.pl index ba92bf0..fc88ee4 100755 --- a/psresize2.pl +++ b/psresize2.pl @@ -464,7 +464,7 @@ sub round { # In-place convert the given length to PostScript points # sub topoints { - my $l = $_; + my $l = $_[0]; return unless defined $$l; $$l =~ /^([+-]?\d*\.?\d+)(\w*)$/ or die "Unable to parse `$$l'"; -- cgit v1.2.3