mirror of
git://slackware.nl/current.git
synced 2024-12-31 10:28:29 +01:00
12 lines
420 B
Diff
12 lines
420 B
Diff
|
--- ./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);
|