Commit 132fcaa1 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 410521: The diffs in bugmails were broken and BugMail.pm was throwing a warning about sprintf.

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
parent 46381d01
......@@ -71,7 +71,7 @@ sub multiline_sprintf {
my ($format, $args, $sizes) = @_;
my @parts;
my @my_sizes = @$sizes; # Copy this so we don't modify the input array.
while (my $string = shift @$args) {
foreach my $string (@$args) {
my $size = shift @my_sizes;
my @pieces = split("\n", wrap_hard($string, $size));
push(@parts, \@pieces);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment