diff options
author | cgd <cgd@NetBSD.org> | 1995-04-22 07:34:00 +0000 |
---|---|---|
committer | cgd <cgd@NetBSD.org> | 1995-04-22 07:34:00 +0000 |
commit | dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0 (patch) | |
tree | 427ce5700facaf7b8a5247179c51ae56ceea5600 /larn/main.c | |
parent | 44369ce4e3c21a83d2a75c1e10449542ebe574a3 (diff) | |
download | bsdgames-darwin-dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0.tar.gz bsdgames-darwin-dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0.tar.zst bsdgames-darwin-dac705a2406595b9fe3d58d72a5e2a9fe1ca25a0.zip |
clean up handling of fortunes a bit.
Diffstat (limited to 'larn/main.c')
-rw-r--r-- | larn/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/larn/main.c b/larn/main.c index 1d0743cc..35339177 100644 --- a/larn/main.c +++ b/larn/main.c @@ -1,5 +1,5 @@ #ifndef lint -static char rcsid[] = "$NetBSD: main.c,v 1.5 1995/03/23 08:33:46 cgd Exp $"; +static char rcsid[] = "$NetBSD: main.c,v 1.6 1995/04/22 07:34:07 cgd Exp $"; #endif /* not lint */ /* main.c */ @@ -798,7 +798,7 @@ while (1) iven[i-'a']=0; if (!c[BLINDCOUNT]) { - if (p=fortune(fortfile)) + if (p=fortune()) { lprcat(" Inside you find a scrap of paper that says:\n"); lprcat(p); |