summaryrefslogtreecommitdiffstats
path: root/backgammon
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-07-28 23:15:51 +0000
committerhubertf <hubertf@NetBSD.org>1999-07-28 23:15:51 +0000
commitd48dcc9da57f70c58b9662e3d6c7658a932931a0 (patch)
tree94595623ec763f3afccc1e8a10fe6be2dedf7386 /backgammon
parentf673749e491684614e9f9a63114b342f2164d658 (diff)
downloadbsdgames-darwin-d48dcc9da57f70c58b9662e3d6c7658a932931a0.tar.gz
bsdgames-darwin-d48dcc9da57f70c58b9662e3d6c7658a932931a0.tar.zst
bsdgames-darwin-d48dcc9da57f70c58b9662e3d6c7658a932931a0.zip
This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.
Submitted in PR 8104 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'backgammon')
-rw-r--r--backgammon/backgammon/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backgammon/backgammon/main.c b/backgammon/backgammon/main.c
index e603346a..0caa2db3 100644
--- a/backgammon/backgammon/main.c
+++ b/backgammon/backgammon/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.11 1999/07/19 00:33:58 hubertf Exp $ */
+/* $NetBSD: main.c,v 1.12 1999/07/28 23:15:51 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.11 1999/07/19 00:33:58 hubertf Exp $");
+__RCSID("$NetBSD: main.c,v 1.12 1999/07/28 23:15:51 hubertf Exp $");
#endif
#endif /* not lint */
@@ -69,7 +69,7 @@ const char *const contin[] = { /* pause message */
0
};
static const char rules[] = "\nDo you want the rules of the game?";
-static const char noteach[] = "Teachgammon not available!\n\007";
+static const char noteach[] = "Teachgammon not available!\n\a";
static const char need[] = "Do you need instructions for this program?";
static const char askcol[] =
"Enter 'r' to play red, 'w' to play white, 'b' to play both:";