From: Don Armstrong Date: Thu, 22 Aug 2013 00:31:03 +0000 (-0700) Subject: fix inverted test in _wrap_to_length X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=161bc55eb97024cb85d8033cec32cd6a1b80b0e2;p=debbugs.git fix inverted test in _wrap_to_length --- diff --git a/Debbugs/User.pm b/Debbugs/User.pm index 3b90ec41..620aa1f2 100644 --- a/Debbugs/User.pm +++ b/Debbugs/User.pm @@ -406,7 +406,7 @@ sub _wrap_to_length { my $current_word = $1; $content = $2; if ($current_line_length != 0 and - $current_line_length + length($current_word) <= $line_length) { + $current_line_length + length($current_word) > $line_length) { $result .= "\n "; $current_line_length = 1; }