summaryrefslogtreecommitdiffstats
path: root/mille
diff options
context:
space:
mode:
authorjdc <jdc@NetBSD.org>2000-04-27 00:33:49 +0000
committerjdc <jdc@NetBSD.org>2000-04-27 00:33:49 +0000
commit53b9e53fc9ccf8c328fea8884f447e1ae6a3225c (patch)
treef8e55a8f106bc7ef9a685972d00a55d19426a49a /mille
parent30464b25f701aebd11d60ff475fa253adfc205c6 (diff)
downloadbsdgames-darwin-53b9e53fc9ccf8c328fea8884f447e1ae6a3225c.tar.gz
bsdgames-darwin-53b9e53fc9ccf8c328fea8884f447e1ae6a3225c.tar.zst
bsdgames-darwin-53b9e53fc9ccf8c328fea8884f447e1ae6a3225c.zip
Clear to end of line on the correct window.
Diffstat (limited to 'mille')
-rw-r--r--mille/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/misc.c b/mille/misc.c
index 00a282d9..48f25cb9 100644
--- a/mille/misc.c
+++ b/mille/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.8 1999/03/29 05:12:39 mrg Exp $ */
+/* $NetBSD: misc.c,v 1.9 2000/04/27 00:33:49 jdc Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: misc.c,v 1.8 1999/03/29 05:12:39 mrg Exp $");
+__RCSID("$NetBSD: misc.c,v 1.9 2000/04/27 00:33:49 jdc Exp $");
#endif
#endif /* not lint */
@@ -81,7 +81,7 @@ error(str, va_alist)
#endif
wmove(Score, ERR_Y, ERR_X);
vwprintw(Score, str, ap);
- clrtoeol();
+ wclrtoeol(Score);
putchar('\07');
refresh();
va_end(ap);