44034054f8
- change maintainer - regen PLIST & patches ok ajacoutot@
16 lines
626 B
Plaintext
16 lines
626 B
Plaintext
$OpenBSD: patch-figlet_c,v 1.2 2009/05/27 10:24:53 benoit Exp $
|
|
--- figlet.c.orig Tue Jul 5 11:50:49 2005
|
|
+++ figlet.c Mon May 25 22:07:34 2009
|
|
@@ -1446,8 +1446,9 @@ inchr c;
|
|
}
|
|
else {
|
|
for (k=0;k<smushamount;k++) {
|
|
- outputline[row][outlinelen-smushamount+k] =
|
|
- smushem(outputline[row][outlinelen-smushamount+k],currchar[row][k]);
|
|
+ if (outlinelen-smushamount+k >= 0)
|
|
+ outputline[row][outlinelen-smushamount+k] =
|
|
+ smushem(outputline[row][outlinelen-smushamount+k],currchar[row][k]);
|
|
}
|
|
strcat(outputline[row],currchar[row]+smushamount);
|
|
}
|