summaryrefslogtreecommitdiff
path: root/source/y/bsd-games/bsd-games.fortlen.diff
blob: 52b4065111995a8d22db68bb0dd1d2d91aff5fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./fortune/fortune/fortune.c.orig	2001-08-29 08:11:31.000000000 -0700
+++ ./fortune/fortune/fortune.c	2003-02-03 14:27:45.000000000 -0800
@@ -318,7 +318,7 @@
 	char	line[BUFSIZ];
 
 	if (!(Fortfile->tbl.str_flags & (STR_RANDOM | STR_ORDERED)))
-		nchar = (Seekpts[1] - Seekpts[0] <= SLEN);
+		nchar = Seekpts[1] - Seekpts[0];
 	else {
 		open_fp(Fortfile);
 		(void) fseek(Fortfile->inf, (long)Seekpts[0], SEEK_SET);