Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/battlestar Convert old deprecated curses call to new e...
details: https://anonhg.NetBSD.org/src/rev/40a48fd194b4
branches: trunk
changeset: 518696:40a48fd194b4
user: blymn <blymn%NetBSD.org@localhost>
date: Tue Dec 04 13:00:24 2001 +0000
description:
Convert old deprecated curses call to new equivalent.
diffstat:
games/battlestar/fly.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d103881465cb -r 40a48fd194b4 games/battlestar/fly.c
--- a/games/battlestar/fly.c Tue Dec 04 11:51:39 2001 +0000
+++ b/games/battlestar/fly.c Tue Dec 04 13:00:24 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fly.c,v 1.9 2000/09/24 09:44:28 jsm Exp $ */
+/* $NetBSD: fly.c,v 1.10 2001/12/04 13:00:24 blymn Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)fly.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: fly.c,v 1.9 2000/09/24 09:44:28 jsm Exp $");
+__RCSID("$NetBSD: fly.c,v 1.10 2001/12/04 13:00:24 blymn Exp $");
#endif
#endif /* not lint */
@@ -87,7 +87,7 @@
return (0);
}
oldsig = signal(SIGINT, succumb);
- crmode();
+ cbreak();
noecho();
screen();
row = rnd(LINES - 3) + 1;
Home |
Main Index |
Thread Index |
Old Index