summaryrefslogtreecommitdiff
path: root/games/hangman/setup.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-04-20 22:54:57 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-04-20 22:54:57 +0000
commite63f1d5088d7ff97df87e8b0d0f1f11d7ed281ab (patch)
tree776a0bdd3843af58fb8f541710be163596d07740 /games/hangman/setup.c
parent8a82c5710a0fb068690fde9036223f53b6b5435a (diff)
Don't allow guessed letters to wrap; closes PR800. Based on fix from
krw@tcn.net. Also, check to make sure the screen is big enough.
Diffstat (limited to 'games/hangman/setup.c')
-rw-r--r--games/hangman/setup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/hangman/setup.c b/games/hangman/setup.c
index 03730d4c02b..c431273a4b4 100644
--- a/games/hangman/setup.c
+++ b/games/hangman/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.2 1998/08/19 07:40:45 pjanzen Exp $ */
+/* $OpenBSD: setup.c,v 1.3 1999/04/20 22:54:56 pjanzen Exp $ */
/* $NetBSD: setup.c,v 1.3 1995/03/23 08:32:59 cgd Exp $ */
/*-
@@ -38,11 +38,10 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: setup.c,v 1.2 1998/08/19 07:40:45 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: setup.c,v 1.3 1999/04/20 22:54:56 pjanzen Exp $";
#endif
#endif /* not lint */
-#include <err.h>
#include "hangman.h"
/*