Source-Changes-HG archive

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

[src/trunk]: src/games/mille Clear to end of line on the correct window.



details:   https://anonhg.NetBSD.org/src/rev/16479ee7dfa8
branches:  trunk
changeset: 485402:16479ee7dfa8
user:      jdc <jdc%NetBSD.org@localhost>
date:      Thu Apr 27 00:33:49 2000 +0000

description:
Clear to end of line on the correct window.

diffstat:

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

diffs (27 lines):

diff -r 68d69deabd48 -r 16479ee7dfa8 games/mille/misc.c
--- a/games/mille/misc.c        Thu Apr 27 00:33:47 2000 +0000
+++ b/games/mille/misc.c        Thu Apr 27 00:33:49 2000 +0000
@@ -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 @@
 #endif
        wmove(Score, ERR_Y, ERR_X);
        vwprintw(Score, str, ap);
-       clrtoeol();
+       wclrtoeol(Score);
        putchar('\07');
        refresh();
        va_end(ap);



Home | Main Index | Thread Index | Old Index