summaryrefslogtreecommitdiffstats
path: root/psresize2.pl
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@chalmers.se>2010-09-26 22:11:20 +0200
committerGuilhem Moulin <guilhem.moulin@chalmers.se>2010-09-26 22:11:20 +0200
commit2150c1b9487fd691f4f971ae91c4cf8f68f21fbb (patch)
treee4603783a9f1b541dee7c077fd40266158dfaae8 /psresize2.pl
parent14c3f3400cd81ac1cc95d87072aebca1e18c28c0 (diff)
Bad length conversion
Diffstat (limited to 'psresize2.pl')
-rwxr-xr-xpsresize2.pl2
1 files changed, 1 insertions, 1 deletions
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'";