Skip to content

Commit

Permalink
PSUtils.pm: print the culprit when we get a bad dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
rrthomas committed Apr 1, 2021
1 parent a5dc15a commit b37a5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSUtils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ sub singledimen {
Die("paper size not set") if !defined($width);
$num *= $height;
}
else { Die("bad dimension") if $str ne ""; };
else { Die("bad dimension `$str'") if $str ne ""; };
}
setlocale(LC_ALL, $old_locale);
return $num;
Expand Down

0 comments on commit b37a5d4

Please sign in to comment.