Revision 74fca575
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/ReportGenerator.pm | ||
---|---|---|
564 | 564 |
my $font_height = $font_size + 2 * $padding; |
565 | 565 |
my $title_font_height = $font_size + 2 * $padding; |
566 | 566 |
|
567 |
my $header_height = 2 * $title_font_height if ($opts->{title});
|
|
568 |
my $footer_height = 2 * $font_height if ($pdfopts->{number});
|
|
567 |
my $header_height = $opts->{title} ? 2 * $title_font_height : undef;
|
|
568 |
my $footer_height = $pdfopts->{number} ? 2 * $font_height : undef;
|
|
569 | 569 |
|
570 | 570 |
my $top_text_height = 0; |
571 | 571 |
|
Auch abrufbar als: Unified diff
Fixes für das "my $var if $cond;" pattern.