diff options
Diffstat (limited to 'Bugzilla/PatchReader/DiffPrinter/raw.pm')
-rw-r--r-- | Bugzilla/PatchReader/DiffPrinter/raw.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Bugzilla/PatchReader/DiffPrinter/raw.pm b/Bugzilla/PatchReader/DiffPrinter/raw.pm index b7a0d8db2..81e01c283 100644 --- a/Bugzilla/PatchReader/DiffPrinter/raw.pm +++ b/Bugzilla/PatchReader/DiffPrinter/raw.pm @@ -29,7 +29,8 @@ sub start_file { my $fh = $this->{OUTFILE}; if ($file->{rcs_filename}) { print $fh "Index: $file->{filename}\n"; - print $fh "===================================================================\n"; + print $fh + "===================================================================\n"; print $fh "RCS file: $file->{rcs_filename}\n"; } my $old_file = $file->{is_add} ? "/dev/null" : $file->{filename}; @@ -53,7 +54,8 @@ sub next_section { return unless $section->{old_start} || $section->{new_start}; my $fh = $this->{OUTFILE}; - print $fh "@@ -$section->{old_start},$section->{old_lines} +$section->{new_start},$section->{new_lines} @@ $section->{func_info}\n"; + print $fh + "@@ -$section->{old_start},$section->{old_lines} +$section->{new_start},$section->{new_lines} @@ $section->{func_info}\n"; foreach my $line (@{$section->{lines}}) { $line =~ s/(\r?\n?)$/\n/; print $fh $line; |