summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-17 23:01:05 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-17 23:01:05 +0000
commit00b8f85dad22cd02620cfb96d422335b49182955 (patch)
tree5aaa7a42fe5911140a4ed7a2b82d9dfc7210710f
parent1944c5fe9d0be449119029586816404c17b2fee4 (diff)
display username when playing restored games
-rw-r--r--games/gomoku/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/gomoku/main.c b/games/gomoku/main.c
index 4014ca7ae3a..1634a5868ce 100644
--- a/games/gomoku/main.c
+++ b/games/gomoku/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.9 2001/02/17 22:38:06 pjanzen Exp $ */
+/* $OpenBSD: main.c,v 1.10 2001/02/17 23:01:04 pjanzen Exp $ */
/*
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
@@ -45,7 +45,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 5/4/95";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.9 2001/02/17 22:38:06 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.10 2001/02/17 23:01:04 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -253,8 +253,8 @@ again:
input[WHITE] = PROGRAM;
break;
}
- plyr[BLACK] = input[BLACK] == USER ? "you" : prog;
- plyr[WHITE] = input[WHITE] == USER ? "you" : prog;
+ plyr[BLACK] = input[BLACK] == USER ? you : prog;
+ plyr[WHITE] = input[WHITE] == USER ? you : prog;
bdwho(1);
goto top;