| 1 |
Description: Removing trailing spaces |
| 2 |
This is mainly to work-around broken word-wrapping by mail clients. |
| 3 |
Forwarded: no |
| 4 |
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=276144#42 |
| 5 |
Bug-Debian: http://bugs.debian.org/276144 |
| 6 |
Author: Florian Ernst <[email protected]> |
| 7 |
|
| 8 |
--- cowsay-3.03.orig/cowsay |
| 9 |
+++ cowsay-3.03/cowsay |
| 10 |
@@ -128,15 +132,16 @@ sub construct_balloon { |
| 11 |
@border = qw[ / \ \ / | | ]; |
| 12 |
} |
| 13 |
} |
| 14 |
+## no trailing spaces (#276144) |
| 15 |
push(@balloon_lines, |
| 16 |
|
| 17 |
+ " " . ("_" x $max2) . "\n" , |
| 18 |
sprintf($format, $border[0], $message[0], $border[1]), |
| 19 |
(@message < 2 ? "" : |
| 20 |
map { sprintf($format, $border[4], $_, $border[5]) } |
| 21 |
@message[1 .. $#message - 1]), |
| 22 |
(@message < 2 ? "" : |
| 23 |
sprintf($format, $border[2], $message[$#message], $border[3])), |
| 24 |
|
| 25 |
+ " " . ("-" x $max2) . "\n" |
| 26 |
); |
| 27 |
} |
| 28 |
|