summaryrefslogtreecommitdiff
path: root/games/gomoku/bdisp.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-17 23:03:58 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-02-17 23:03:58 +0000
commitac8563f347b1b71e86c605b688c1b53e2931b956 (patch)
treec2042259a6a4a0c6076d012a726a29bf55282d43 /games/gomoku/bdisp.c
parent9f8157bac0c09c50fad02880e37a61999a47973d (diff)
clrtoeol() is bad if there's stuff to the right you want to keep.
Diffstat (limited to 'games/gomoku/bdisp.c')
-rw-r--r--games/gomoku/bdisp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/gomoku/bdisp.c b/games/gomoku/bdisp.c
index 5805d763262..e86b667d120 100644
--- a/games/gomoku/bdisp.c
+++ b/games/gomoku/bdisp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bdisp.c,v 1.5 2001/02/17 22:38:06 pjanzen Exp $ */
+/* $OpenBSD: bdisp.c,v 1.6 2001/02/17 23:03:57 pjanzen Exp $ */
/*
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95";
#else
-static char rcsid[] = "$OpenBSD: bdisp.c,v 1.5 2001/02/17 22:38:06 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: bdisp.c,v 1.6 2001/02/17 23:03:57 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -133,7 +133,7 @@ bdwho(update)
extern char *plyr[];
move(21, 0);
- clrtoeol();
+ printw(" ");
i = strlen(plyr[BLACK]);
j = strlen(plyr[WHITE]);
if (i + j <= 20) {