Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/backgammon/backgammon This is a trivial fix to backgam...



details:   https://anonhg.NetBSD.org/src/rev/f9a9bf1a63db
branches:  trunk
changeset: 474997:f9a9bf1a63db
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Wed Jul 28 23:15:51 1999 +0000

description:
This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.

Submitted in PR 8104 by Joseph Myers <jsm28%cam.ac.uk@localhost>

diffstat:

 games/backgammon/backgammon/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2af366ad1420 -r f9a9bf1a63db games/backgammon/backgammon/main.c
--- a/games/backgammon/backgammon/main.c        Wed Jul 28 23:09:45 1999 +0000
+++ b/games/backgammon/backgammon/main.c        Wed Jul 28 23:15:51 1999 +0000
@@ -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 @@
 #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 @@
        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:";



Home | Main Index | Thread Index | Old Index