You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
511 B
20 lines
511 B
6 years ago
|
Description: Work-around for broken baloons with empty messages
|
||
|
Forwarded: no
|
||
|
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165218#5
|
||
|
Bug-Debian: http://bugs.debian.org/165218
|
||
|
Author: Jeronimo Pellegrini <pellegrini@mpcnet.com.br>
|
||
|
|
||
|
--- cowsay-3.03.orig/cowsay
|
||
|
+++ cowsay-3.03/cowsay
|
||
|
@@ -106,6 +106,10 @@ sub maxlength {
|
||
|
$l = length $i;
|
||
|
$m = $l if ($l > $m);
|
||
|
}
|
||
|
+## maxlength patch from Jeronimo Pellegrini (Closes: #165218)
|
||
|
+ if ($m == -1) {
|
||
|
+ $m = 0;
|
||
|
+ }
|
||
|
return $m;
|
||
|
}
|
||
|
|