Source-Changes-HG archive

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

[src/trunk]: src/games/cribbage Replace deprecated curses call with supported...



details:   https://anonhg.NetBSD.org/src/rev/2b27b4e26b5a
branches:  trunk
changeset: 518697:2b27b4e26b5a
user:      blymn <blymn%NetBSD.org@localhost>
date:      Tue Dec 04 13:12:23 2001 +0000

description:
Replace deprecated curses call with supported equivalent.

diffstat:

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

diffs (27 lines):

diff -r 40a48fd194b4 -r 2b27b4e26b5a games/cribbage/crib.c
--- a/games/cribbage/crib.c     Tue Dec 04 13:00:24 2001 +0000
+++ b/games/cribbage/crib.c     Tue Dec 04 13:12:23 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crib.c,v 1.14 2001/02/05 00:28:30 christos Exp $       */
+/*     $NetBSD: crib.c,v 1.15 2001/12/04 13:12:23 blymn Exp $  */
 
 /*-
  * Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)crib.c     8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: crib.c,v 1.14 2001/02/05 00:28:30 christos Exp $");
+__RCSID("$NetBSD: crib.c,v 1.15 2001/12/04 13:12:23 blymn Exp $");
 #endif
 #endif /* not lint */
 
@@ -112,7 +112,7 @@
 
        initscr();
        (void)signal(SIGINT, rint);
-       crmode();
+       cbreak();
        noecho();
 
        Playwin = subwin(stdscr, PLAY_Y, PLAY_X, 0, 0);



Home | Main Index | Thread Index | Old Index