Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 74fca575

Von Sven Schöling vor fast 13 Jahren hinzugefügt

  • ID 74fca575d438232002756175338c23f55b8a6c12
  • Vorgänger 4000444b
  • Nachfolger 45970e73

Fixes für das "my $var if $cond;" pattern.

Unterschiede anzeigen:

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